Skip to content

Commit

Permalink
Requires werkzeug >= 0.15 during test execution
Browse files Browse the repository at this point in the history
Because it fixes NotFound Error message
  • Loading branch information
ticosax committed Apr 23, 2019
1 parent 71a7869 commit 09ec656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
'Flask-MongoEngine>=0.7.1',
'peewee==2.*',
'nose>=1.1.2',
'werkzeug>=0.15.0',
]

setup(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_error_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_not_found_exception(self):
response = self.client.get('/prefix/error/missing')
self.assert404(response)
self.assertEqual({
"message": "The requested URL was not found on the server. If you entered "
"message": "The requested URL was not found on the server. If you entered "
"the URL manually please check your spelling and try again.",
"status": 404
}, response.json)
Expand Down

0 comments on commit 09ec656

Please sign in to comment.