Skip to content

Commit 04c901d

Browse files
committed
revert delete operations
1 parent 49d1d39 commit 04c901d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/integration/smoke/test_events_resource.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,22 @@ def test_01_events_resource(self):
157157
virtual_machine.restore(self.apiclient)
158158
time.sleep(self.services["sleep"])
159159
virtual_machine.detach_volume(self.apiclient, volume)
160+
volume.delete(self.apiclient)
161+
self.cleanup.remove(volume)
160162
ts = str(time.time())
161163
virtual_machine.update(self.apiclient, displayname=ts)
164+
virtual_machine.delete(self.apiclient)
165+
self.cleanup.remove(virtual_machine)
162166
account_network.update(self.apiclient, name=account_network.name + ts)
167+
account_network.delete(self.apiclient)
168+
self.cleanup.remove(account_network)
163169
virtual_machine.start(self.apiclient)
164170
account.update(self.apiclient, newname=account.name + ts)
165171
account.disable(self.apiclient)
172+
account.delete(self.apiclient)
173+
self.cleanup.remove(account)
174+
domain1.delete(self.apiclient)
175+
self.cleanup.remove(domain1)
166176

167177
cmd = listEvents.listEventsCmd()
168178
cmd.startdate = start_time

0 commit comments

Comments
 (0)