|
@@ -276,7 +276,7 @@ class TestExceptionHandlerControllerWrapper(Base):
|
276
|
276
|
response = func(42)
|
277
|
277
|
assert HTTPStatus.INTERNAL_SERVER_ERROR == response.status_code
|
278
|
278
|
assert {
|
279
|
|
- 'details': {},
|
|
279
|
+ 'details': {'error_detail': {}},
|
280
|
280
|
'message': 'We are testing',
|
281
|
281
|
'code': None,
|
282
|
282
|
} == json.loads(response.body)
|
|
@@ -305,7 +305,7 @@ class TestExceptionHandlerControllerWrapper(Base):
|
305
|
305
|
assert response.status_code == HTTPStatus.INTERNAL_SERVER_ERROR
|
306
|
306
|
assert {
|
307
|
307
|
'message': 'We are testing',
|
308
|
|
- 'details': {'foo': 'bar'},
|
|
308
|
+ 'details': {'error_detail': {'foo': 'bar'}},
|
309
|
309
|
'code': None,
|
310
|
310
|
} == json.loads(response.body)
|
311
|
311
|
|