Fix tests

This commit is contained in:
Mizaki 2023-03-02 00:23:56 +00:00
parent c9638ba0d9
commit 9e86b5e331
2 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,7 @@ search_results = [
publisher="test",
start_year=0,
aliases=[],
genres=[],
),
comictalker.resulttypes.ComicSeries(
count_of_issues=1,
@ -24,6 +25,7 @@ search_results = [
publisher="test",
start_year=0,
aliases=[],
genres=[],
),
]

View File

@ -176,6 +176,7 @@ comic_issue_result = ComicIssue(
image_url=cv_volume_result["results"]["image"]["super_url"],
publisher=cv_volume_result["results"]["publisher"]["name"],
start_year=int(cv_volume_result["results"]["start_year"]),
genres=[],
),
characters=[],
alt_image_urls=[],
@ -183,6 +184,10 @@ comic_issue_result = ComicIssue(
credits=[],
locations=[],
story_arcs=[],
rating=0,
manga="",
genres=[],
tags=[],
teams=[],
)
date = utils.parse_date_str(cv_issue_result["results"]["cover_date"])