def test_domain_xml_modifies(self):
        config = """<domain><name>bar</name><uuid>bar</uuid><devices><disk device="disk" type="file">""" +\
                 """<source file="/bar"/></disk></devices></domain>"""
        expected = """<domain><name>foo</name><uuid>foo</uuid><devices><disk device="disk" type="file">""" +\
                   """<source file="/diskpath.qcow2" /></disk></devices></domain>"""
        results = qemu.domain_xml('foo', config, '/diskpath.qcow2')
        self.assertEqual(results, expected, compare(results, expected))
url property returns opposite sort direction for current field.
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/qemu_test.py/DomainXMLTest.test_domain_xml_modifies--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortTest.test_url_same_field