diff --git a/testing/comicvine.py b/testing/comicvine.py index 30a1a4b..f5fb508 100644 --- a/testing/comicvine.py +++ b/testing/comicvine.py @@ -207,7 +207,7 @@ cv_md = comicapi.genericmetadata.GenericMetadata( black_and_white=None, page_count=None, maturity_rating=None, - story_arc=None, + story_arc="", series_group=None, scan_info=None, characters="", diff --git a/tests/comicvinetalker_test.py b/tests/comicvinetalker_test.py index f7a11a0..30eb1a9 100644 --- a/tests/comicvinetalker_test.py +++ b/tests/comicvinetalker_test.py @@ -32,8 +32,16 @@ def test_fetch_issues_by_volume(comicvine_api, comic_cache): for r in results: del r["volume"] del r["image_thumb_url"] + del r["characters"] + del r["locations"] + del r["story_arcs"] + del r["teams"] for c in cache_issues: del c["volume"] + del c["characters"] + del c["locations"] + del c["story_arcs"] + del c["teams"] assert results == cache_issues @@ -55,6 +63,13 @@ def test_fetch_issues_by_volume_issue_num_and_year(comicvine_api): del r["image_thumb_url"] del r["image_url"] del r["alt_images_url"] + del r["characters"] + del r["credits"] + del r["locations"] + del r["story_arcs"] + del r["teams"] + del r["complete"] + del r["volume"]["publisher"] assert r == e