Add some basic tests for urban dictionary

This commit is contained in:
Stijn De Clercq 2021-09-05 15:56:48 +02:00
parent 740ec40ace
commit 768f43ade9
4 changed files with 50 additions and 6 deletions

View file

@ -19,7 +19,7 @@ ipc_client = ipc.Client(secret_key="SOME_SECRET_KEY")
@app.route("/ping", methods=["GET"])
async def ping():
"""
Send a ping request, monitors bot latency, endpoint time, and PSQL latency
Send a ping request, monitors bot latency and endpoint time
"""
latency = await ipc_client.request("get_bot_latency")