Skip to content

Commit

Permalink
Fixed UT error
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasgranderubio committed Aug 25, 2017
1 parent 8377396 commit 0ec10a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/api/test_dagda_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def test_error_messages(self):
self.assertEqual(bad_code, 400)
self.assertEqual(not_found_code, 404)
self.assertEqual(internal_code, 500)
self.assertEqual(bad_rs, json.dumps({'err': 400, 'msg': 'Bad Request'}))
self.assertEqual(not_found_rs, json.dumps({'err': 404, 'msg': 'Not Found'}))
self.assertEqual(internal_rs, json.dumps({'err': 500, 'msg': 'Internal Server Error'}))
self.assertEqual(json.loads(bad_rs)['msg'], 'Bad Request')
self.assertEqual(json.loads(not_found_rs)['msg'], 'Not Found')
self.assertEqual(json.loads(internal_rs)['msg'], 'Internal Server Error')


# -- Mock classes
Expand Down

0 comments on commit 0ec10a3

Please sign in to comment.