Gitlab Community Edition Instance

Commit c56d1090 authored by Marcel Hellkamp's avatar Marcel Hellkamp
Browse files

Fix tests for error responses

parent 9e494620
......@@ -15,6 +15,7 @@ def mockserver(mocker):
return mocker.Mock(
ok=False,
status_code=500,
headers={"Content-Type": "application/json"},
json=mocker.Mock(return_value={
'error': 'e', 'message': 'm', 'status': 's', 'detail': [('x', 'y')]}))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment