Fix failing test

This commit is contained in:
Matt Wright
2015-05-02 14:57:34 -04:00
parent 6b55e9613a
commit 8a14abaa1e
+1 -1
View File
@@ -154,7 +154,7 @@ def auth_required(*auth_methods):
if _security._unauthorized_callback:
return _security._unauthorized_callback()
else:
return _get_unauthorized_response()
return _get_unauthorized_response(headers=h)
return decorated_view
return wrapper