Fix test (response validation in debug mode)
This commit is contained in:
parent
693a11c58e
commit
1cdbd89120
1 changed files with 1 additions and 1 deletions
|
@ -50,6 +50,6 @@ class Error(ApiResource):
|
||||||
def get(self, error_type):
|
def get(self, error_type):
|
||||||
""" Get a detailed description of the error """
|
""" Get a detailed description of the error """
|
||||||
if error_type in ERROR_DESCRIPTION.keys():
|
if error_type in ERROR_DESCRIPTION.keys():
|
||||||
return error_view(error_type), 200
|
return error_view(error_type)
|
||||||
raise NotFound()
|
raise NotFound()
|
||||||
|
|
||||||
|
|
Reference in a new issue