|
@@ -43,8 +43,8 @@ def test_article_info_two(api_wrapper, article_keys):
|
|
|
assert set(article_keys).issubset(response.keys()), "All keys should be in the response"
|
|
|
assert isinstance(response['article_id'], int), "Article id should be an integer"
|
|
|
assert isinstance(response['article_title'], str), "Article title should be a str"
|
|
|
- assert isinstance(response['newspaper_id'], int), "Newspaper id should be an integer"
|
|
|
- assert isinstance(response['newspaper_name'], str), "Newspaper name should be a string"
|
|
|
+ assert response['newspaper_id'] is None, "Newspaper id should be none"
|
|
|
+ assert response['newspaper_name'] is None, "Newspaper name should be none"
|
|
|
assert isinstance(response['author_name'], str), "Author name should be a string"
|
|
|
assert isinstance(response['author_id'], int), "Author id should be an integer"
|
|
|
assert isinstance(response['region_name'], str), "Region name should be a string"
|