diff --git a/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py b/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py index f906e423..64d1ce85 100644 --- a/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py +++ b/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py @@ -291,7 +291,8 @@ class LibvirtDriverTestCase(base.BaseTestCase): '"52:54:00:da:ac:54" />\n \n \n
' + '0000" function="0x0" slot="0x01" type="pci" />\n ' \ + '' # NOTE(rpittau): starting from Python 3.8 the tostring() function # preserves the attribute order specified by the user. @@ -300,7 +301,8 @@ class LibvirtDriverTestCase(base.BaseTestCase): '"52:54:00:da:ac:54" />\n \n \n
' + 'bus="0x01" slot="0x01" function="0x0" />\n ' \ + '' self.assertIn(expected, conn_mock.defineXML.call_args[0][0])