Commit b873731c authored by Stavros Sachtouris's avatar Stavros Sachtouris Committed by Giorgos Korfiatis
Browse files

Update unit tests

parent 40f3cf71
......@@ -139,7 +139,7 @@ class LoggedAstakosClient(TestCase):
def tearDown(self):
FR.headers = {}
@patch('kamaki.clients.recvlog.debug', return_value='recvlog info')
@patch('', return_value='recvlog info')
def test__dump_response(self, recvlog_info):
for headers, status, message, data, LOG_DATA, LOG_TOKEN in product(
......@@ -132,7 +132,7 @@ class CycladesComputeRestClient(TestCase):
self.assertEqual(r, 'ret')
u'/servers/%s/os-volume_attachments' % server_id,
json={'volumeAttachment': {'volumeId': volume_id}}, success=200)
json={'volumeAttachment': {'volumeId': volume_id}}, success=202)
def test_volume_attachment_delete(self, delete):
......@@ -140,7 +140,7 @@ class CycladesComputeRestClient(TestCase):
self.client.volume_attachment_delete(server_id, att_id)
u'/servers/%s/os-volume_attachments/%s' % (server_id, att_id),
class CycladesNetworkClient(TestCase):
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