Fix integration test failures

- Fix test_data_file_db_sync.py: Remove unused mock logger parameters
- Fix test_nfo_workflow.py: Add missing async mocks for TMDB methods
  * Add get_tv_show_content_ratings mock for FSK rating support
  * Add get_image_url mock to return proper URL strings
  * Fix test_nfo_update_workflow to include TMDB ID in existing NFO
- Fix DownloadService method calls in test fixtures
  * Change stop() to stop_downloads() (correct method name)
  * Change start() to start_queue_processing()
  * Add exception handling for ProgressServiceError in teardown
- All 1380 tests now passing with 0 failures and 0 errors
This commit is contained in:
2026-01-17 22:50:25 +01:00
parent c6919ac124
commit a06abaa2e5
5 changed files with 29 additions and 33 deletions

View File

@@ -105,7 +105,7 @@ async def download_service(mock_series_app, progress_service, tmp_path):
queue_repository=mock_repo,
)
yield service
await service.stop()
await service.stop_downloads()
class TestAPIIdentifierConsistency: