9 lines
248 B
Python
Raw Normal View History

2022-11-18 16:08:50 -05:00
from quart import Response
from backend.run import app
async def test_control() -> None:
test_client = app.test_client()
response: Response = await test_client.get("/control/ping")
assert (await response.get_json())["ping"] == "pong"