Files
bitchmin/bitchmin-api/app/tests/test_ping_routes.py
Fergal Moran 7d242820cd armv7 build
2020-11-14 21:38:13 +00:00

13 lines
273 B
Python

from datetime import timedelta
from app.models import User
class TestUserRoutes:
def test_user_get(self, db, app) -> None:
client = app.test_client()
rv = client.get(f"/ping")
assert "200" in rv.status
assert "pong!" in str(rv.data)