|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
import logging
|
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
|
import radicale_auth_ldap
|
|
|
|
|
import radicale3_auth_ldap
|
|
|
|
|
from test.configuration import TEST_CONFIGURATION, VALID_USER, VALID_PASS
|
|
|
|
|
from test.util import ConfigMock
|
|
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ class Authentication(unittest.TestCase):
|
|
|
|
|
cls.configuration = ConfigMock(TEST_CONFIGURATION)
|
|
|
|
|
|
|
|
|
|
def test_authentication_works(self):
|
|
|
|
|
auth = radicale_auth_ldap.Auth(self.__class__.configuration)
|
|
|
|
|
auth = radicale3_auth_ldap.Auth(self.__class__.configuration)
|
|
|
|
|
self.assertTrue(auth.login(VALID_USER, VALID_PASS))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|