mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user