def test_domain_xml(self):
        config = """<domain></domain>"""
        expected = """<domain><name>foo</name><uuid>foo</uuid><devices><disk device="disk" type="file">""" +\
                   """<source file="/diskpath.vdi" /></disk></devices></domain>"""
        results = vbox.domain_xml('foo', config, '/diskpath.vdi')
        self.assertEqual(results, expected, compare(results, expected))
Domain XML.
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/vbox_test.py/DomainXMLTest.test_domain_xml