Add basic test

This commit is contained in:
phil 2025-01-10 19:18:57 +01:00
parent c7478aff5f
commit a310649507
5 changed files with 68 additions and 9 deletions

11
tests/basic.py Normal file
View file

@ -0,0 +1,11 @@
from fastapi.testclient import TestClient
from oidc_test.main import app
client = TestClient(app)
def test_bootstrap():
with TestClient(app) as client:
response = client.get("/")
assert response.status_code == 200