feat: Add audio extraction endpoints and refactor sound API routes
This commit is contained in:
@@ -513,7 +513,7 @@ class TestAdminSoundEndpoints:
|
||||
mock_get_status.return_value = mock_status
|
||||
|
||||
response = await authenticated_admin_client.get(
|
||||
"/api/v1/admin/sounds/extract/status",
|
||||
"/api/v1/admin/extractions/status",
|
||||
)
|
||||
|
||||
assert response.status_code == 200
|
||||
@@ -526,7 +526,7 @@ class TestAdminSoundEndpoints:
|
||||
client: AsyncClient,
|
||||
) -> None:
|
||||
"""Test getting extraction processor status without authentication."""
|
||||
response = await client.get("/api/v1/admin/sounds/extract/status")
|
||||
response = await client.get("/api/v1/admin/extractions/status")
|
||||
|
||||
assert response.status_code == 401
|
||||
data = response.json()
|
||||
@@ -556,7 +556,7 @@ class TestAdminSoundEndpoints:
|
||||
base_url="http://test",
|
||||
) as client:
|
||||
response = await client.get(
|
||||
"/api/v1/admin/sounds/extract/status",
|
||||
"/api/v1/admin/extractions/status",
|
||||
headers=headers,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user