

def test_generate_IPv6_with_IPv4_prefix(self):
    ipv4_prefix = '10.0.8'
    mac = '00:16:3e:33:44:55'
    self.assertRaises(TypeError, (lambda : ipv6_utils.get_ipv6_addr_by_EUI64(ipv4_prefix, mac)))

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/common/test_ipv6_utils.py IPv6byEUI64TestCase.test_generate_IPv6_with_IPv4_prefix/original