TT-003: complete request-module integration into modular platform

- integrated request-module into module registry
- moved backend into modules/request-module
- added manifest.json and module.py
- implemented dynamic router mounting
- implemented dynamic static mounting
- removed direct dependencies from platform core
- verified startup with request-module
- verified startup without request-module
- added implementation_report_003.md
This commit is contained in:
2026-08-06 16:31:27 +03:00
parent c97e6a42f7
commit 6c86f0f571
180 changed files with 204885 additions and 25 deletions
@@ -0,0 +1,27 @@
"""Test user endpoints."""
import pytest
from fastapi.testclient import TestClient
from app.main import app
class TestUsers:
"""Test user endpoints."""
def test_get_users(self, client: TestClient, auth_headers: dict):
"""Test getting users list."""
response = client.get("/api/v1/users/", headers=auth_headers)
assert response.status_code == 200
data = response.json()
assert "users" in data
assert "total" in data
def test_get_me(self, client: TestClient, auth_headers: dict):
"""Test getting current user."""
response = client.get("/api/v1/users/me", headers=auth_headers)
assert response.status_code == 200
data = response.json()
assert "id" in data
assert "email" in data