import sources from develop/0.1.0

This commit is contained in:
Thomas Peetz
2025-04-29 12:52:55 +02:00
parent 304005822c
commit 4c96de27db
976 changed files with 58265 additions and 0 deletions
View File
+15
View File
@@ -0,0 +1,15 @@
from fastapi.testclient import TestClient
import pytest
from src.main import app
@pytest.fixture(name="client")
def client_fixture():
client = TestClient(app)
yield client
def test_get_artists(client: TestClient):
response = client.get("/comic/artists")
assert response.status_code == 200
assert len(response.json()) == 5