From 1cdbd8912000836c8b3432f58ba7976472dd611b Mon Sep 17 00:00:00 2001 From: Evan Cordell Date: Tue, 12 Apr 2016 07:56:58 -0400 Subject: [PATCH] Fix test (response validation in debug mode) --- endpoints/api/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/api/error.py b/endpoints/api/error.py index 6c0cbc65c..c6b3a5b0a 100644 --- a/endpoints/api/error.py +++ b/endpoints/api/error.py @@ -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()