fix(fc3b): replace FC-3a KNOWN_PLATFORMS w/ registry; drop /api/sources/platforms
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,14 +25,6 @@ async def artist(db):
|
||||
return a
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_platforms_endpoint(client):
|
||||
resp = await client.get("/api/sources/platforms")
|
||||
assert resp.status_code == 200
|
||||
body = await resp.get_json()
|
||||
assert "patreon" in body["platforms"]
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_create_list_get_delete(client, artist):
|
||||
create = await client.post("/api/sources", json={
|
||||
|
||||
Reference in New Issue
Block a user