def test_add_reverse_domainless_ips(self):
        e = None
        try:
            self.add_ptr_ipv4('8.8.8.8')
        except __HOLE__, e:
            pass
        self.assertEqual(ValidationError, type(e))
        e = None

        try:
            self.add_ptr_ipv6('2001:0db8:85a3:0000:0000:8a2e:0370:733')
        except ValidationError, e:
            pass
        self.assertEqual(ValidationError, type(e))
        e = None
        boot_strap_ipv6_reverse_domain("2.0.0.1")
        try:
            self.create_domain(name='2.0.0.1', ip_type='6').save()
        except ValidationError, e:
            pass
        self.assertEqual(ValidationError, type(e))
        e = None
        self.add_ptr_ipv6('2001:0db8:85a3:0000:0000:8a2e:0370:733')
dataset/ETHPy150Open rtucker-mozilla/mozilla_inventory/mozdns/domain/tests/reverse_tests.py/ReverseDomainTests.test_add_reverse_domainless_ips