summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-009-parse_ldap_uri.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2019-11-08 09:56:14 +0000
committerAleksander Machniak <machniak@kolabsys.com>2019-11-08 09:56:14 +0000
commit726512ce5cabc82dc31ca4f8d7e40aa4f55f0028 (patch)
tree98e231cc4644e369ded905592dcf8047688f6165 /tests/unit/test-009-parse_ldap_uri.py
parent7954241cdfadfbe12829608090486e2cb4771056 (diff)
downloadpykolab-726512ce5cabc82dc31ca4f8d7e40aa4f55f0028.tar.gz
Fix unit tests after fix in utils.parse_ldap_uri()
Diffstat (limited to 'tests/unit/test-009-parse_ldap_uri.py')
-rw-r--r--tests/unit/test-009-parse_ldap_uri.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test-009-parse_ldap_uri.py b/tests/unit/test-009-parse_ldap_uri.py
index 2596ddd..88854f8 100644
--- a/tests/unit/test-009-parse_ldap_uri.py
+++ b/tests/unit/test-009-parse_ldap_uri.py
@@ -8,9 +8,9 @@ class TestParseLdapUri(unittest.TestCase):
def test_001_ldap_uri(self):
ldap_uri = "ldap://localhost"
result = utils.parse_ldap_uri(ldap_uri)
- self.assertEqual(result, ("ldap", "localhost", "389", None, None, None, None))
+ self.assertEqual(result, ("ldap", "localhost", "389", None, [None], None, None))
def test_002_ldap_uri_port(self):
ldap_uri = "ldap://localhost:389"
result = utils.parse_ldap_uri(ldap_uri)
- self.assertEqual(result, ("ldap", "localhost", "389", None, None, None, None))
+ self.assertEqual(result, ("ldap", "localhost", "389", None, [None], None, None))