def test_remove_invalid_reverse_domain(self):
        rd1 = self.create_domain(name='130', ip_type='4')
        rd1.save()
        rd2 = self.create_domain(name='130.193', ip_type='4')
        rd2.save()
        rd3 = self.create_domain(name='130.193.8', ip_type='4')
        rd3.save()
        try:
            rd1.delete()
        except __HOLE__, e:
            pass
        self.assertEqual(ValidationError, type(e))
dataset/ETHPy150Open rtucker-mozilla/mozilla_inventory/mozdns/domain/tests/reverse_tests.py/ReverseDomainTests.test_remove_invalid_reverse_domain