Initial commit
This commit is contained in:
0
backend/tests/blueprints/__init__.py
Normal file
0
backend/tests/blueprints/__init__.py
Normal file
8
backend/tests/blueprints/test_control.py
Normal file
8
backend/tests/blueprints/test_control.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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"
|
Reference in New Issue
Block a user