- Alembic 006: teams, team_label_rules, irm_alerts.team_id - Вебхук: сопоставление команды по правилам лейблов (priority) - API/UI Команды; алерты: JOIN team, фильтр team_id - Тесты test_team_match, test_teams_api; обновлён test_root_ui Made-with: Cursor
10 lines
287 B
Python
10 lines
287 B
Python
"""API модуля команд без БД."""
|
|
|
|
from fastapi.testclient import TestClient
|
|
|
|
|
|
def test_teams_list_no_db(client: TestClient) -> None:
|
|
r = client.get("/api/v1/modules/teams/")
|
|
assert r.status_code == 200
|
|
assert r.json() == {"items": [], "database": "disabled"}
|