Corrected error message format

This commit is contained in:
Adam Shimali
2016-04-04 14:51:56 +01:00
parent 0d06be05e1
commit e4a5e3890a
2 changed files with 3 additions and 3 deletions

View File

@@ -133,4 +133,4 @@ def test_get_all_template_statistics_with_bad_limit_arg_returns_400(notify_api,
assert response.status_code == 400
json_resp = json.loads(response.get_data(as_text=True))
assert json_resp['result'] == 'error'
assert json_resp['message'] == ['Limit days blurk is not an integer']
assert json_resp['message'] == {'limit_days': ['blurk is not an integer']}