summaryrefslogtreecommitdiffstats
path: root/python/t/rhbz811650.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/t/rhbz811650.py')
-rw-r--r--python/t/rhbz811650.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/t/rhbz811650.py b/python/t/rhbz811650.py
index cf01673f..c84f094b 100644
--- a/python/t/rhbz811650.py
+++ b/python/t/rhbz811650.py
@@ -25,7 +25,7 @@ f.close ()
g = guestfs.GuestFS ()
# Deliberate error: the disk format is supposed to be raw.
-g.add_drive_opts ("test.img", format="qcow2");
+g.add_drive ("test.img", format="qcow2");
# Because error() wasn't being called, guestfs_last_error would return
# NULL, causing a segfault in the Python bindings (RHBZ#811650).