]> git.ipfire.org Git - people/ms/nitsi.git/commitdiff
Fix deleting the snapshot of our machines
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Thu, 19 Apr 2018 11:01:09 +0000 (13:01 +0200)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Thu, 19 Apr 2018 11:01:09 +0000 (13:01 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
test.py

diff --git a/test.py b/test.py
index d2a6d97907e32e7516087d4edaf55f8185567da5..064633f54c6bc2f6ce6ffef09d9c4127048ad01d 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -109,7 +109,7 @@ class vm():
     def revert_snapshot(self):
         print(inspect.getmembers(self.dom, predicate=inspect.ismethod))
         self.dom.revertToSnapshot(self.snapshot)
-        #self.dom.SnapshotDelete(self.snapshot)
+        self.snapshot.delete()
 
     def is_running(self):