diff options
| author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2024-09-02 23:59:48 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2024-09-02 23:59:48 -0700 |
| commit | c39367ac7e163395ae726bd169926004d4d99d67 (patch) | |
| tree | c551f15f3c6475638239b7ccf1d6992f375e9a57 /tests | |
| parent | 9f5e81327be33489d9bb912de503cd01d6ba7dca (diff) | |
| download | kennel.hatecomputers.club-c39367ac7e163395ae726bd169926004d4d99d67.tar.gz kennel.hatecomputers.club-c39367ac7e163395ae726bd169926004d4d99d67.zip | |
fix CI
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/__init__.py | 0 | ||||
| -rw-r--r-- | tests/test_main.py | 18 |
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>") |
