Refactor resource creation and cleanup in Tempest 01/38001/10
authorMartin Kulhavy <martin.kulhavy@nokia.com>
Mon, 24 Jul 2017 13:16:33 +0000 (16:16 +0300)
committerMartin Kulhavy <martin.kulhavy@nokia.com>
Wed, 23 Aug 2017 14:36:53 +0000 (17:36 +0300)
commit1b7322ab8290b55b1869ac913442070ebe6df2a5
treec6a22553b9683c577ed390ac12bf419abcb0b839
parent0b4684562fa417201477fc4643a4eb4025847a84
Refactor resource creation and cleanup in Tempest

Use Snaps to create resources before running a testcase and to clean up
afterwards.
Use Tempest Cleanup utility to clean other resources.

Change-Id: Ic0f69d3bafb60dfb283d18ac507e9f5992e9ae38
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
functest/opnfv_tests/openstack/refstack_client/refstack_client.py
functest/opnfv_tests/openstack/refstack_client/tempest_conf.py
functest/opnfv_tests/openstack/tempest/conf_utils.py
functest/opnfv_tests/openstack/tempest/tempest.py
functest/tests/unit/openstack/refstack_client/test_refstack_client.py
functest/tests/unit/openstack/tempest/test_conf_utils.py
functest/tests/unit/openstack/tempest/test_tempest.py
functest/utils/functest_utils.py
functest/utils/openstack_utils.py