Commit b17f165f authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

burnin: Fix a bug with missing method

Method `_disconnect_from_floating_ips' has been removed but
StaleFloatingIPsTestSuite was using it. Replace this method with
parent ff5ac50a
......@@ -558,6 +558,10 @@ class CycladesTests(BurninTests):
# Then delete the floating IPs
def _delete_floating_ips(self, fips):
"""Delete floating ips"""
for fip in fips:"Destroying floating IP %s with id %s",
fip['floating_ip_address'], fip['id'])
......@@ -103,8 +103,8 @@ class StaleFloatingIPsTestSuite(CycladesTests):
elif len_stale == 0:"No stale floating IPs found")
else:"Deleteing %s stale floating IPs", len_stale)
self._disconnect_from_floating_ips(self.stale_ips)"Deleting %s stale floating IPs", len_stale)
# Too many public methods. pylint: disable-msg=R0904
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