Commit b4fad07f authored by Łukasz Nowak's avatar Łukasz Nowak

Incorrect XML does not impact bang.

parent a3751b0f
......@@ -613,12 +613,8 @@ class TestInstancePOSTbang(VifibSlaposRestAPIV1BangMixin):
headers={'REMOTE_USER': self.customer_reference})
self.prepareResponse()
self.assertBasicResponse()
self.assertResponseCode(500)
self.assertResponseJson()
self.assertEqual({
"error": "There is system issue, please try again later."},
self.json_response)
self.assertInstanceBangSimulatorEmpty()
self.assertResponseCode(204)
self.assertInstanceBangSimulator((), kwargs)
def test_non_existing(self):
non_existing = 'software_instance_module/' + self.generateNewId()
......
22
\ No newline at end of file
23
\ 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