Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
restran committed May 28, 2017
1 parent eab30f0 commit aed8909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fomalhaut/tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ def test_post_json(self):
'c': '涓枃'
}

body = json.dumps(json_data)
body = json.dumps(json_data, sort_keys=True)
r = req.post('/resource/', json=json_data)

self.assertEqual(r.status_code, 200)
self.assertEqual(utf8(json.dumps(r.json())), utf8(body))
self.assertEqual(utf8(json.dumps(r.json(), sort_keys=True)), utf8(body))

def test_post_img(self):
client = APIClient(self.access_key, self.secret_key, self.api_server)
Expand Down

0 comments on commit aed8909

Please sign in to comment.