diff options
Diffstat (limited to 'tests/test_main.py')
| -rw-r--r-- | tests/test_main.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/test_main.py b/tests/test_main.py deleted file mode 100644 index 1c25f7f..0000000 --- a/tests/test_main.py +++ /dev/null @@ -1,18 +0,0 @@ -from http import HTTPStatus - -from fastapi.testclient import TestClient -from kennel.main import app -from structlog.testing import capture_logs - -client = TestClient(app) - - -def test_healthcheck(): - response = client.get("/healthcheck") - assert response.status_code == HTTPStatus.OK - assert response.text == "hello" - -def test_main(): - response = client.get("/") - assert response.status_code == HTTPStatus.OK - assert response.text.startswith("<!DOCTYPE html>") |
