Better cleanup for Tempest tests

When running our Tempest tests, we are now cleaning up all the
objects we have created within the WatcherDB via a soft_delete.

Partially Implements: blueprint deletion-of-actions-plan

Change-Id: Ibdcfd2be37094377d09ad77d5c20298ee2baa4d0
This commit is contained in:
Vincent Françoise
2016-02-02 11:26:23 +01:00
parent a0b5f5aa1d
commit 79850cc89c
6 changed files with 127 additions and 56 deletions

View File

@@ -38,8 +38,8 @@ class TestShowListAction(base.BaseInfraOptimTest):
duration=30,
sleep_for=.5
)
_, action_plans = cls.client.list_action_plan_by_audit(
cls.audit['uuid'])
_, action_plans = cls.client.list_action_plans(
audit_uuid=cls.audit['uuid'])
cls.action_plan = action_plans['action_plans'][0]
@test.attr(type='smoke')