Fix NFO batch endpoint route priority and test fixture

This commit is contained in:
2026-01-27 18:10:16 +01:00
parent f409b81aa2
commit c693c6572b
5 changed files with 597 additions and 924 deletions

View File

@@ -421,9 +421,6 @@ class TestNFOBatchCreateEndpoint:
)
assert response.status_code in (401, 503)
@pytest.mark.skip(
reason="TODO: Fix dependency override timing with authenticated_client"
)
@pytest.mark.asyncio
async def test_batch_create_success(
self,

View File

@@ -473,11 +473,12 @@ async def test_validate_schema_with_inspection_error():
def test_schema_constants():
"""Test that schema constants are properly defined."""
assert CURRENT_SCHEMA_VERSION == "1.0.0"
assert len(EXPECTED_TABLES) == 4
assert len(EXPECTED_TABLES) == 5
assert "anime_series" in EXPECTED_TABLES
assert "episodes" in EXPECTED_TABLES
assert "download_queue" in EXPECTED_TABLES
assert "user_sessions" in EXPECTED_TABLES
assert "system_settings" in EXPECTED_TABLES
if __name__ == "__main__":