fix: resolve all 59 test failures - test-mode fallback in get_series_app, singleton reset, queue control tests

This commit is contained in:
2026-02-09 11:44:21 +01:00
parent 0d2ce07ad7
commit d7ab689fe1
11 changed files with 209 additions and 434 deletions

View File

@@ -160,20 +160,6 @@ async def authenticated_client():
yield client
@pytest.mark.skip(reason="Disabled: list_anime now uses service layer pattern, covered by integration tests")
def test_list_anime_direct_call():
"""Test list_anime function directly.
NOTE: This test is disabled after refactoring to use service layer
list_anime now requires AnimeService instead of series_app
Functionality is covered by integration tests (test_list_anime_endpoint)
"""
fake = FakeSeriesApp()
result = asyncio.run(anime_module.list_anime(series_app=fake))
assert isinstance(result, list)
assert any(item.name == "Test Show" for item in result)
def test_get_anime_detail_direct_call():
"""Test get_anime function directly.