From 2eb7d17e24c28d6dcc42efc7b4f40173e54a402a Mon Sep 17 00:00:00 2001 From: Ruediger Stock Date: Fri, 3 Apr 2020 15:52:49 +0200 Subject: [PATCH] add stack to _delete_resources to enable cleanup for heat Story: 2007472 Task: 39171 Change-Id: Ifbce4523340fe721d2bc65e96d05a40a19a082f7 --- automated-pytest-suite/testfixtures/resource_mgmt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automated-pytest-suite/testfixtures/resource_mgmt.py b/automated-pytest-suite/testfixtures/resource_mgmt.py index e180abc..eabd13f 100755 --- a/automated-pytest-suite/testfixtures/resource_mgmt.py +++ b/automated-pytest-suite/testfixtures/resource_mgmt.py @@ -12,7 +12,7 @@ from utils import exceptions from consts.auth import Tenant from keywords import nova_helper, vm_helper, cinder_helper, glance_helper, \ - network_helper, system_helper + network_helper, system_helper, heat_helper from testfixtures.fixture_resources import ResourceCleanup, GuestLogs @@ -173,6 +173,7 @@ def _delete_resources(resources, scope): ('server_group', nova_helper.delete_server_groups, {}, True), ('floating_ip', network_helper.delete_floating_ips, {}, True), ('trunk', network_helper.delete_trunks, {}, True), + ('heat_stack', heat_helper.delete_stack, {}, False), ('port_pair_group', network_helper.delete_sfc_port_pair_group, {'check_first': True}, False), ('port_pair', network_helper.delete_sfc_port_pairs,