

def test_domain_admin_resource_are_empty(self):
    self._create_domain('domain.tld')
    self._create_account('admin1@domain.tld', role='DomainAdmins')
    domadmin = User.objects.get(username='admin1@domain.tld')
    for l in ['mailboxes', 'mailbox_aliases']:
        self.assertEqual(domadmin.userobjectlimit_set.get(name=l).max_value, 0)

dataset/ETHPy150Open tonioo/modoboa/modoboa/limits/tests/test_user_limits.py ResellerTestCase.test_domain_admin_resource_are_empty/original