Setup project, started outlining endpoints and tests.

This commit is contained in:
Sparkchaser13 committed 2026-09-23 16:00:14 -06:00
commit 33cd28376d
41 files changed
+5177

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