diff --git a/tests/test_anilist.py b/tests/test_anilist.py index b5d8848..ba09be7 100644 --- a/tests/test_anilist.py +++ b/tests/test_anilist.py @@ -10,7 +10,7 @@ def test_anilist() -> None: - media = Anilist().search("Attack on titan") + media = Anilist().search("Attack on titan", type=MediaType.ANIME) assert media.title.romaji == "Shingeki no Kyojin" assert media.start_date.year == 2013 assert media.source == MediaSource.MANGA diff --git a/tests/test_async_anilist.py b/tests/test_async_anilist.py index b8266f1..7e12b6b 100644 --- a/tests/test_async_anilist.py +++ b/tests/test_async_anilist.py @@ -10,7 +10,7 @@ async def test_anilist() -> None: - media = await AsyncAnilist().search("Attack on titan") + media = await AsyncAnilist().search("Attack on titan", type=MediaType.ANIME) assert media.title.romaji == "Shingeki no Kyojin" assert media.start_date.year == 2013 assert media.source == MediaSource.MANGA