Fix API tests: update field names and function naming
This commit is contained in:
@@ -77,7 +77,7 @@ def test_list_anime_direct_call():
|
||||
fake = FakeSeriesApp()
|
||||
result = asyncio.run(anime_module.list_anime(series_app=fake))
|
||||
assert isinstance(result, list)
|
||||
assert any(item.title == "Test Show" for item in result)
|
||||
assert any(item.name == "Test Show" for item in result)
|
||||
|
||||
|
||||
def test_get_anime_detail_direct_call():
|
||||
|
||||
Reference in New Issue
Block a user