Update test files with refinements and fixes

- test_anime_endpoints.py: Minor updates
- test_download_retry.py: Refinements
- test_i18n.js: Updates
- test_tmdb_client.py: Improvements
- test_tmdb_rate_limiting.py: Test enhancements
- test_user_preferences.js: Updates
This commit is contained in:
2026-02-02 07:19:36 +01:00
parent c757123429
commit d74c181556
6 changed files with 185 additions and 92 deletions

View File

@@ -160,12 +160,14 @@ 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)
pytest.skip("Disabled: list_anime now uses service layer pattern")
"""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)