Added simple RBAC endpoints and simple tests.

This commit is contained in:
Sparkchaser13 committed 2026-09-23 17:04:53 -06:00
1 parent 33cd28376d
commit ef37f577e3
14 files changed
+191 -121

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
"""Fixtures to import into tests."""
from collections.abc import Iterator
import pytest
from fastapi.testclient import TestClient
from app.main import app
@pytest.fixture
def client() -> Iterator[TestClient]:
"""Client fixture to pass test client with."""
with TestClient(app) as client:
yield client