forked from Github-Mirrors/canaille
tests: fix a variable in ldap tests
This commit is contained in:
parent
ce48d5d54b
commit
39a5eafd71
1 changed files with 4 additions and 2 deletions
|
@ -160,8 +160,10 @@ def test_python_to_ldap():
|
|||
|
||||
|
||||
def test_operational_attribute_conversion(backend):
|
||||
assert "oauthClientName" in LDAPObject.ldap_object_attributes(backend)
|
||||
assert "invalidAttribute" not in LDAPObject.ldap_object_attributes(backend)
|
||||
assert "oauthClientName" in LDAPObject.ldap_object_attributes(backend.connection)
|
||||
assert "invalidAttribute" not in LDAPObject.ldap_object_attributes(
|
||||
backend.connection
|
||||
)
|
||||
|
||||
assert python_attrs_to_ldap(
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue