Fix dependency issues

We haven't bumped the test version for a while.
Also bumped the version of Flask and itsdangerous.
In order to fix flask warnings I needed to changed how the blueprints were registerd.
This commit is contained in:
Rebecca Law
2021-05-25 16:42:06 +01:00
parent f66f0a2e2d
commit 50de85988e
6 changed files with 40 additions and 60 deletions

View File

@@ -128,7 +128,5 @@ def test_bad_method(app_for_test):
assert response.status_code == 405
assert response.json == {
"result": "error",
"message": "The method is not allowed for the requested URL."
}
assert response.get_data(as_text=True) == \
'{"message":"The method is not allowed for the requested URL.","result":"error"}\n'