Artifacts removing missed

We should clean lists of artifacts to prevent
duplicate removing attempt after the test execution.

Change-Id: I5384c907acbb227929363215fa0e2e22a84d5738
Closes-Bug: 1594610
This commit is contained in:
Dmitry Belyaninov 2017-01-30 16:43:35 +00:00 committed by Vladimir Khlyunev
parent ac87c39624
commit 163fd05841
1 changed files with 4 additions and 1 deletions

View File

@ -110,12 +110,15 @@ class NeutronBaseTest(fuel_health.nmanager.NovaNetworkScenarioTest):
router['id'], {"subnet_id": subnet_id})
self.neutron_client.delete_router(router['id'])
self.routers.pop(router['id'])
def _remove_subnet(self, subnet):
return self.neutron_client.delete_subnet(subnet['id'])
self.neutron_client.delete_subnet(subnet['id'])
self.subnets.remove(subnet)
def _remove_network(self, network):
self.neutron_client.delete_network(network['id'])
self.networks.remove(network)
@classmethod
def _clean_floating_ips(cls):