aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py0
-rw-r--r--tests/test_main.py18
2 files changed, 0 insertions, 18 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/__init__.py
+++ /dev/null
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>")