From 3867236b2cb020756b5c8c19a8542cca658a2f49 Mon Sep 17 00:00:00 2001 From: Marco Huenseler Date: Sun, 3 Dec 2017 20:24:43 +0100 Subject: update tests to unittest library --- test/test_configuration_working.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 test/test_configuration_working.py (limited to 'test/test_configuration_working.py') 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() -- cgit