Try to fix unit tests.

see #989
This commit is contained in:
Antoine Nguyen
2017-01-18 14:08:21 +01:00
parent adf4750c1f
commit f794b9d9cb
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ addons:
apt:
packages:
- ldap-utils
- postfix
- slapd
env:
+2 -2
View File
@@ -6,7 +6,7 @@ from django.core.urlresolvers import reverse
from django.test import override_settings
from modoboa.core import factories as core_factories
from modoboa.core.tests import test_core
from modoboa.core.tests import test_ldap
from modoboa.core.models import User
from modoboa.lib.tests import ModoTestCase
from modoboa.lib.tests import NO_LDAP
@@ -219,7 +219,7 @@ class AccountTestCase(ModoTestCase):
'modoboa.lib.authbackends.LDAPBackend',
'django.contrib.auth.backends.ModelBackend',
))
class LDAPAccountTestCase(test_core.LDAPTestCaseMixin, ModoTestCase):
class LDAPAccountTestCase(test_ldap.LDAPTestCaseMixin, ModoTestCase):
"""Check LDAP related code."""
def test_autocreate_disabled(self):