

def test_no_soa_block(self):
    fqdn = 'baz.bar.foo.eu'
    self.assertRaises(ValidationError, ensure_label_domain, fqdn)
    c = Domain(name='eu')
    c.save()
    self.assertFalse(c.purgeable)
    f_c = Domain(name='foo.eu')
    self.save()
    self.assertFalse(f_c.purgeable)
    self.assertRaises(ValidationError, ensure_label_domain, fqdn)

dataset/ETHPy150Open mozilla/inventory/mozdns/domain/tests/auto_create.py AutoCreateTests.test_no_soa_block/VarMisuse@58/85 `f_c`->`self`