Fix test (response validation in debug mode)

This commit is contained in:
Evan Cordell 2016-04-12 07:56:58 -04:00
parent 693a11c58e
commit 1cdbd89120

View file

@ -50,6 +50,6 @@ class Error(ApiResource):
def get(self, error_type):
""" Get a detailed description of the error """
if error_type in ERROR_DESCRIPTION.keys():
return error_view(error_type), 200
return error_view(error_type)
raise NotFound()