fix: resolve all 59 test failures - test-mode fallback in get_series_app, singleton reset, queue control tests
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user