Add basic test
This commit is contained in:
parent
c7478aff5f
commit
a310649507
5 changed files with 68 additions and 9 deletions
11
tests/basic.py
Normal file
11
tests/basic.py
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue