fixed tests
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -80,7 +80,7 @@ class TestApiKeyword(TestViews):
|
||||
)
|
||||
response = json.loads(r.content)
|
||||
self.assertEqual(r.status_code, 201)
|
||||
self.assertEqual(response['name'], {self.keyword_1.name})
|
||||
self.assertEqual(response['name'], self.keyword_1.name)
|
||||
|
||||
def test_keyword_delete(self):
|
||||
r = self.user_client_1.delete(
|
||||
|
@ -14,7 +14,7 @@ class TestEditsRecipe(TestBase):
|
||||
{'file': 'cookbook/tests/resources/websites/ld_json_2.html', 'result_length': 1525},
|
||||
{'file': 'cookbook/tests/resources/websites/ld_json_3.html', 'result_length': 1644},
|
||||
{'file': 'cookbook/tests/resources/websites/ld_json_4.html', 'result_length': 1744},
|
||||
{'file': 'cookbook/tests/resources/websites/ld_json_itemList.html', 'result_length': 3221},
|
||||
{'file': 'cookbook/tests/resources/websites/ld_json_itemList.html', 'result_length': 3222},
|
||||
{'file': 'cookbook/tests/resources/websites/ld_json_multiple.html', 'result_length': 1621},
|
||||
{'file': 'cookbook/tests/resources/websites/micro_data_1.html', 'result_length': 1094},
|
||||
{'file': 'cookbook/tests/resources/websites/micro_data_2.html', 'result_length': 1453},
|
||||
|
Reference in New Issue
Block a user