Fix missing key

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-08-07 22:52:45 +05:30
parent 1a46bbd893
commit d1c01a79a5
3 changed files with 5 additions and 5 deletions

View File

@ -282,7 +282,7 @@ class TestAccountSnapshotClean(cloudstackTestCase):
ssh_client.execute(c)
except Exception as e:
self.fail("SSH failed for management server: %s - %s" %
(self.services["mgmt_server"]["ipaddress"], e))
(self.config.mgtSvr[0].mgtSvrIp, e))
res = str(snapshots)
return res.count(snapshot_id) == 1

View File

@ -270,7 +270,7 @@ class TestSnapshotLimit(cloudstackTestCase):
ssh_client.execute(c)
except Exception as e:
self.fail("SSH failed for management server: %s - %s" %
(self.services["mgmt_server"]["ipaddress"], e))
(self.config.mgtSvr[0].mgtSvrIp, e))
res = str(snapshots)
return res.count(snapshot_id) == 1

View File

@ -262,7 +262,7 @@ class TestSnapshots(cloudstackTestCase):
ssh_client.execute(c)
except Exception as e:
self.fail("SSH failed for management server: %s - %s" %
(self.services["mgmt_server"]["ipaddress"], e))
(self.config.mgtSvr[0].mgtSvrIp, e))
res = str(snapshots)
return res.count(snapshot_id) == 1