Fixed unit tests.

see #1035
This commit is contained in:
Antoine Nguyen
2017-02-16 11:43:31 +01:00
parent 8ef3dc8e06
commit f19ba83e5e
2 changed files with 2 additions and 6 deletions
+2 -1
View File
@@ -127,7 +127,8 @@ class SettingsTestCase(ModoTestCase):
"core-ldap_search_filter": "(mail=%(user)s)",
"core-ldap_secured": "False",
"core-ldap_user_dn_template": "",
"core-default_password": "Toto1000"
"core-default_password": "Toto1000",
"limits-deflt_user_quota_limit": "0",
}
def test_get_settings(self):
-5
View File
@@ -181,11 +181,6 @@ class DomainAdminTestCase(ResourceTestCase):
Alias.objects.get(address='alias1@test.com')
self._check_limit('mailbox_aliases', 2, 2)
def test_quota(self):
"""Check that quota limit does not exist."""
self.assertFalse(
self.user.userobjectlimit_set.filter(name="quota").exists())
class ResellerTestCase(ResourceTestCase):