API - add typing

This commit is contained in:
Sam
2021-01-02 19:28:03 +01:00
parent 4705393a08
commit 634d06b05a
53 changed files with 1884 additions and 1075 deletions

View File

@ -1,8 +1,10 @@
import json
from flask import Flask
class TestHealthCheck:
def test_it_returns_pong_on_health_check(self, app):
def test_it_returns_pong_on_health_check(self, app: Flask) -> None:
""" => Ensure the /health_check route behaves correctly."""
client = app.test_client()
response = client.get('/api/ping')