Commit 9ba6080e authored by Andrea Bolognani's avatar Andrea Bolognani

tests: Don't open-code node_device_create()

The fixture is pretty trivial right now, so open-coding
it is not a big deal; however, we're going to add more
logic to it soon and we definitely don't want to end up
having to worry about duplicated code.
Signed-off-by: 's avatarAndrea Bolognani <>
Reviewed-by: 's avatarKaterina Koukiou <>
parent 7da2b425
......@@ -195,7 +195,7 @@ class TestConnect(libvirttest.BaseTestClass):
self.connect.connect_to_signal('NodeDeviceEvent', node_device_created)
path = self.connect.NodeDeviceCreateXML(xmldata.minimal_node_device_xml, 0)
path = self.node_device_create()
assert isinstance(path, dbus.ObjectPath)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment