diff options
Diffstat (limited to 'tests/test_app.py')
| -rw-r--r-- | tests/test_app.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_app.py b/tests/test_app.py new file mode 100644 index 0000000..c856c52 --- /dev/null +++ b/tests/test_app.py @@ -0,0 +1,8 @@ +from litestar.testing import TestClient + +from thallium.app import app + + +def test_heartbeat() -> None: + with TestClient(app=app) as client: + assert client.get("/heartbeat").json() == {"detail": "I am alive!"} |