mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
committed by
Cole Robinson
parent
19c3e4cb98
commit
153e485bb7
@@ -271,7 +271,7 @@ class XMLParseTest(unittest.TestCase):
|
||||
disk6.size = 1
|
||||
|
||||
check = self._make_checker(disk1)
|
||||
check("path", "/tmp/test.img", "/dev/loop0")
|
||||
check("path", "/tmp/test.img", "/dev/null")
|
||||
disk1.sync_path_props()
|
||||
check("driver_name", None, "test")
|
||||
check("driver_type", None, "raw")
|
||||
@@ -279,7 +279,7 @@ class XMLParseTest(unittest.TestCase):
|
||||
|
||||
check = self._make_checker(disk3)
|
||||
check("type", "block", "dir", "file", "block")
|
||||
check("path", "/dev/loop0", None)
|
||||
check("path", "/dev/null", None)
|
||||
disk3.sync_path_props()
|
||||
check("device", "cdrom", "floppy")
|
||||
check("read_only", True, False)
|
||||
|
||||
Reference in New Issue
Block a user