diff -rup old/tests/testdriver.xml virtinst-0.500.0/tests/testdriver.xml
--- old/tests/testdriver.xml 2009-09-13 19:06:49.000000000 -0400
+++ virtinst-0.500.0/tests/testdriver.xml 2009-09-13 19:07:02.000000000 -0400
@@ -62,19 +62,25 @@
<name>default-vol</name>
<capacity>1000000</capacity>
<allocation>50000</allocation>
- <target/>
+ <target>
+ <format type='qcow2'/>
+ </target>
</volume>
<volume>
<name>testvol1.img</name>
<capacity>1000000</capacity>
<allocation>50000</allocation>
- <target/>
+ <target>
+ <format type='qcow2'/>
+ </target>
</volume>
<volume>
<name>testvol2.img</name>
<capacity>1000000</capacity>
<allocation>50000</allocation>
- <target/>
+ <target>
+ <format type='qcow2'/>
+ </target>
</volume>
</pool>
@@ -153,7 +159,9 @@
<name>testvol1.img</name>
<capacity>107374182400</capacity>
<allocation>107374182400</allocation>
- <target/>
+ <target>
+ <format type='qcow2'/>
+ </target>
</volume>
</pool>
diff -rup old/tests/xmlconfig.py virtinst-0.500.0/tests/xmlconfig.py
--- old/tests/xmlconfig.py 2009-09-13 19:06:49.000000000 -0400
+++ virtinst-0.500.0/tests/xmlconfig.py 2009-09-13 19:10:56.000000000 -0400
@@ -28,7 +28,7 @@ from virtinst import VirtualCharDevice
from virtinst import VirtualVideoDevice
import tests
-conn = libvirt.open("test:///default")
+conn = tests.open_testdriver()
def get_basic_paravirt_guest():
g = virtinst.ParaVirtGuest(connection=conn, type="xen")
@@ -41,7 +41,6 @@ def get_basic_paravirt_guest():
g.vcpus = 5
return g
-conn = libvirt.open("test:///default")
def get_basic_fullyvirt_guest(typ="xen"):
g = virtinst.FullVirtGuest(connection=conn, type=typ,
emulator="/usr/lib/xen/bin/qemu-dm",