def test_int_ip(self): rd = create_reverse_domain('129', ip_type='4') ip = Ip(ip_str="129.193.1.1", ip_type='4') ip.clean_ip() ip.__int__() ip.__repr__() rd = create_reverse_domain('e', ip_type='6') ip_str = 'efff:ffff:ffff:ffff:ffff:ffff:ffff:ffff' ip = Ip(ip_str=ip_str, ip_type='6') ip.clean_ip() ip.__int__() ip.__repr__()
def test_int_ip(self): rd = self.create_domain(name='129', ip_type='4') rd.save() ip = Ip(ip_str="129.193.1.1", ip_type='4') ip.clean_ip() ip.__int__() ip.__repr__() rd = boot_strap_ipv6_reverse_domain('e') ip_str = 'efff:ffff:ffff:ffff:ffff:ffff:ffff:ffff' ip = Ip(ip_str=ip_str, ip_type='6') ip.clean_ip() ip.__int__() ip.__repr__()
def test_int_ip(self): rd = ReverseDomain(name="129", ip_type="4") rd.save() ip = Ip(ip_str="129.193.1.1", ip_type="4") ip.clean_ip() ip.__int__() ip.__repr__() rd = boot_strap_ipv6_reverse_domain("e") ip_str = "efff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" ip = Ip(ip_str=ip_str, ip_type="6") ip.clean_ip() ip.__int__() ip.__repr__()