def test_no_ip_address(self):
        config = """<network>
          <forward mode="nat"/>
        </network>
        """
        expected = """<network>
          <forward mode="nat" />
        <name>foo</name><uuid>foo</uuid><bridge name="virbr-foo" />""" + \
            """<ip address="192.168.1.1" netmask="255.255.255.0">""" + \
            """<dhcp><range end="192.168.1.128" start="192.168.1.2" /></dhcp></ip></network>"""
        results = network.network_xml('foo', config, address='192.168.1.1')
        self.assertEqual(results, expected, compare(results, expected))
XML with address.
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/network_test.py/NetworkXMLTest.test_no_ip_address