aboutsummaryrefslogtreecommitdiff
path: root/test/test_configuration_working.py
diff options
context:
space:
mode:
authorMarco Huenseler <marcoh.huenseler+git@gmail.com>2017-12-03 20:24:43 +0100
committerMarco Huenseler <marcoh.huenseler+git@gmail.com>2017-12-03 20:24:43 +0100
commit3867236b2cb020756b5c8c19a8542cca658a2f49 (patch)
tree086bb046615734a1d888c76898e00d659a347e30 /test/test_configuration_working.py
parentadd simple integration test (diff)
downloadradicale_auth_ldap-3867236b2cb020756b5c8c19a8542cca658a2f49.tar.gz
radicale_auth_ldap-3867236b2cb020756b5c8c19a8542cca658a2f49.tar.bz2
radicale_auth_ldap-3867236b2cb020756b5c8c19a8542cca658a2f49.zip
update tests to unittest library
Diffstat (limited to 'test/test_configuration_working.py')
-rw-r--r--test/test_configuration_working.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/test_configuration_working.py b/test/test_configuration_working.py
deleted file mode 100644
index 9bbe2c7..0000000
--- a/test/test_configuration_working.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# -*- coding: utf-8 -*-
-
-import logging
-
-import radicale_auth_ldap
-from test.configuration import TEST_CONFIGURATION, VALID_USER, VALID_PASS
-from test.util import ConfigMock
-
-
-def main():
- configuration = ConfigMock(TEST_CONFIGURATION)
- logger = logging.getLogger(__name__)
- auth = radicale_auth_ldap.Auth(configuration, logger)
- assert auth.is_authenticated(VALID_USER, VALID_PASS)
-
-if __name__ == '__main__':
- main()
bgstack15