Initial upload
This commit is contained in:
1 parent
5d778e00f6
commit
fe17e1d507
36 files changed
+1111
-670
No files matched your search
@@ -0,0 +1,7 @@
|
||||
from fastapi.testclient import TestClient
|
||||
from app.main import app
|
||||
|
||||
def test_root_redirect():
|
||||
client = TestClient(app)
|
||||
r = client.get("/", allow_redirects=False)
|
||||
assert r.status_code in (302, 303)
|
||||
Reference in new issue
Block a user