mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
tests: add xmlparse/change vmcoreinfo test
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
committed by
Cole Robinson
parent
84bc80a900
commit
55fa6c4caa
@@ -22,6 +22,7 @@
|
||||
</hyperv>
|
||||
<vmport state="on"/>
|
||||
<viridian/>
|
||||
<vmcoreinfo/>
|
||||
<kvm>
|
||||
<hidden state="on"/>
|
||||
</kvm>
|
||||
|
||||
@@ -172,6 +172,7 @@ class XMLParseTest(unittest.TestCase):
|
||||
check("hyperv_spinlocks", True, True)
|
||||
check("hyperv_spinlocks_retries", 12287, 54321)
|
||||
check("vmport", False, True)
|
||||
check("vmcoreinfo", False, True)
|
||||
check("kvm_hidden", None, True)
|
||||
check("pvspinlock", None, True)
|
||||
check("gic_version", None, False)
|
||||
@@ -232,7 +233,8 @@ class XMLParseTest(unittest.TestCase):
|
||||
check("locked", False, True)
|
||||
|
||||
self._alter_compare(guest.get_xml_config(), outfile,
|
||||
support_check=self.conn.SUPPORT_CONN_VMPORT)
|
||||
support_check=[self.conn.SUPPORT_CONN_VMPORT,
|
||||
self.conn.SUPPORT_CONN_VMCOREINFO])
|
||||
|
||||
def testSeclabel(self):
|
||||
guest, outfile = self._get_test_content("change-seclabel")
|
||||
|
||||
Reference in New Issue
Block a user