Commit 21cda2c5 authored by Łukasz Nowak's avatar Łukasz Nowak

Follow improved error responses.

parent 314a8050
......@@ -250,7 +250,7 @@ class TestInstanceRequest(VifibSlaposRestAPIV1Mixin):
self.assertResponseCode(400)
self.assertResponseJson()
self.assertEqual({
"slave": "Not boolean.",
"slave": "unicode is not bool.",
},
self.json_response)
self.assertPersonRequestSimulatorEmpty()
......@@ -752,5 +752,5 @@ class TestInstancePOSTbang(VifibSlaposRestAPIV1BangMixin):
self.assertBasicResponse()
self.assertResponseCode(400)
self.assertResponseJson()
self.assertEqual({'log': 'Not a string.'}, self.json_response)
self.assertEqual({'log': 'bool is not unicode.'}, self.json_response)
self.assertInstanceBangSimulatorEmpty()
28
\ No newline at end of file
29
\ No newline at end of file
Markdown is supported
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