diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/t/010-launch.py | 3 | ||||
-rw-r--r-- | python/t/050-lvcreate.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/python/t/010-launch.py b/python/t/010-launch.py index c2bdd1d0..1cba3221 100644 --- a/python/t/010-launch.py +++ b/python/t/010-launch.py @@ -15,6 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +import os import guestfs g = guestfs.guestfs() @@ -24,3 +25,5 @@ f.close () g.add_drive ("test.img") g.launch () g.wait_ready () + +os.unlink ("test.img") diff --git a/python/t/050-lvcreate.py b/python/t/050-lvcreate.py index 98227e23..444cee90 100644 --- a/python/t/050-lvcreate.py +++ b/python/t/050-lvcreate.py @@ -15,6 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +import os import guestfs g = guestfs.guestfs() @@ -33,5 +34,4 @@ if (g.lvs () != ["/dev/VG/LV1", "/dev/VG/LV2"]): g.sync () del g -import os os.unlink ("test.img") |