def test_ip4_no_address(self):
        string_xml = """<domain>
                          <devices>
                            <interface type="network">
                              <mac address="00:00:00:00" />
                            </interface>
                          </devices>
                        </domain>"""
        arptable = """0.0.0.0 something weird 11:11:11:11"""
        self.context.domain.XMLDesc.return_value = string_xml

        with mock.patch('see.context.context.open',
                        mock.mock_open(read_data=arptable),
                        create=True):
            self.assertEqual(self.context.ip4_address, None)
Expand a shortened IPv6 address.
dataset/ETHPy150Open F-Secure/see/see/context/test/context_test.py/SeeContextTest.test_ip4_no_address--crossover with--dataset/ETHPy150Open django/django/django/utils/ipv6.py/_explode_shorthand_ip_string