def METHOD_NAME(self):
    self.assertEqual(
        {self.active.id, self.inactive.id},
        {reg.id for reg in DataRegistry.objects.owned_by_domain(self.domain)},
    )
    self.assertEqual(
        {self.active.id},
        {reg.id for reg in DataRegistry.objects.owned_by_domain(self.domain, is_active=True)},
    )