fixed test

This commit is contained in:
smilerz 2021-03-03 21:15:12 -06:00
parent bfaed434cc
commit 3da33e364e
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -11,7 +11,7 @@ class TestEditsRecipe(TestBase):
def test_ld_json(self):
test_list = [
{'file': 'cookbook/tests/resources/websites/ld_json_1.html', 'result_length': 3237},
{'file': 'cookbook/tests/resources/websites/ld_json_2.html', 'result_length': 1510},
{'file': 'cookbook/tests/resources/websites/ld_json_2.html', 'result_length': 1509},
{'file': 'cookbook/tests/resources/websites/ld_json_3.html', 'result_length': 1629},
{'file': 'cookbook/tests/resources/websites/ld_json_4.html', 'result_length': 1744},
{'file': 'cookbook/tests/resources/websites/ld_json_itemList.html', 'result_length': 3206},