I added a second file to 'random_fact' test workflow, so another test was expecting 2 files in it after adding a new file, but there were 3 -
Nothing to see here - move along
This commit is contained in:
parent
ee3ee9fd4a
commit
d8ac20b1c3
|
@ -46,7 +46,7 @@ class TestFilesApi(BaseTest):
|
||||||
content_type="application/json", headers=self.logged_in_headers())
|
content_type="application/json", headers=self.logged_in_headers())
|
||||||
self.assert_success(rv)
|
self.assert_success(rv)
|
||||||
json_data = json.loads(rv.get_data(as_text=True))
|
json_data = json.loads(rv.get_data(as_text=True))
|
||||||
self.assertEqual(2, len(json_data))
|
self.assertEqual(3, len(json_data))
|
||||||
|
|
||||||
|
|
||||||
def test_create_file(self):
|
def test_create_file(self):
|
||||||
|
|
Loading…
Reference in New Issue