Add: Initial commit

This commit is contained in:
Sven Schürmann
2022-03-21 11:47:17 +01:00
commit 5d5d657192
7 changed files with 782 additions and 0 deletions

10
test_main.py Normal file
View File

@@ -0,0 +1,10 @@
from fastapi.testclient import TestClient
from main import app
client = TestClient(app)
def test_redirect():
response = client.get("/")
assert response.status_code == 200
assert response.text.find("Swagger") != -1