Skip to content

Commit

Permalink
Fix LDAPURL's tests
Browse files Browse the repository at this point in the history
  • Loading branch information
noirello committed Sep 3, 2018
1 parent a5bd853 commit c93ab0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_ldapurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_get_bind_properties(valid_ldapurl):
""" Test getting LDAPURL bind properties. """
assert valid_ldapurl.basedn == LDAPDN("cn=test,dc=test")
assert valid_ldapurl.scope == "base"
assert valid_ldapurl.filter == "(objectclass=*)"
assert valid_ldapurl.filter_exp == "(objectclass=*)"
assert valid_ldapurl.attributes == ["sn", "gn"]


Expand Down Expand Up @@ -125,7 +125,7 @@ def test_ipv6():
assert url.host == "2001:db8:85a3::8a2e:370:7334"
assert url.port == 1498
assert url.scope == "one"
assert url.filter == "(cn=Babs Jensen)"
assert url.filter_exp == "(cn=Babs Jensen)"
addr = url.get_address()
assert addr == "ldap://[2001:db8:85a3::8a2e:370:7334]:1498"
with pytest.raises(ValueError):
Expand Down

0 comments on commit c93ab0a

Please sign in to comment.