Setup project, started outlining endpoints and tests.

This commit is contained in:
Sparkchaser13 committed 2026-09-22 21:29:31 -06:00
commit ad61b3f83c
55 files changed
+5138

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