refactor: modularize API routes into separate files and clean up dependencies

This commit is contained in:
2026-04-09 11:58:57 -04:00
parent 551664bc43
commit 29a2cf2738
45 changed files with 541 additions and 344 deletions

View File

@@ -6,7 +6,8 @@ from fastapi.testclient import TestClient
from hypothesis import given, strategies as st, settings, HealthCheck
import httpx
from decnet.web.api import app, repo
from decnet.web.api import app
from decnet.web.dependencies import repo
# Re-use setup from test_web_api
@pytest.fixture(scope="function", autouse=True)