|
@@ -280,8 +280,8 @@ class TestExceptionHandlerControllerWrapper(Base):
|
280
|
280
|
assert 'original_response' in response
|
281
|
281
|
assert response['original_response'] == json.dumps({
|
282
|
282
|
'message': 'We are testing',
|
283
|
|
- 'code': None,
|
284
|
283
|
'details': {},
|
|
284
|
+ 'code': None,
|
285
|
285
|
})
|
286
|
286
|
|
287
|
287
|
def test_unit__exception_handled__ok__exception_error_dict(self):
|
|
@@ -310,8 +310,8 @@ class TestExceptionHandlerControllerWrapper(Base):
|
310
|
310
|
assert 'original_response' in response
|
311
|
311
|
assert response['original_response'] == json.dumps({
|
312
|
312
|
'message': 'We are testing',
|
313
|
|
- 'code': None,
|
314
|
313
|
'details': {'foo': 'bar'},
|
|
314
|
+ 'code': None,
|
315
|
315
|
})
|
316
|
316
|
|
317
|
317
|
def test_unit__exception_handler__error__error_content_malformed(self):
|