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

Incorrect XML does not impact bang.

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