9 lines
248 B
Python
9 lines
248 B
Python
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"
|