Skip to content

Commit

Permalink
fix bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Lysikov committed Sep 28, 2024
1 parent 8da5292 commit ff9e76a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/security/test_auth_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def test__ldap_get_nested_groups(self):
create_default_users(self.appbuilder.session)

user_alice = (
b"cn=test,ou=groups,dc=example,dc=org",
"cn=test,ou=groups,dc=example,dc=org",
{
"member:1.2.840.113556.1.4.1941:": [
b"cn=alice,ou=users,dc=example,dc=org"
Expand All @@ -999,6 +999,6 @@ def test__ldap_get_nested_groups(self):

# validate - search returned expected data
self.assertEqual(len(nested_groups), 1)
self.assertEqual(nested_groups[0], "cn=test,ou=groups,dc=example,dc=org")
self.assertEqual(nested_groups[0], b"cn=test,ou=groups,dc=example,dc=org")

mock_con.search_s.assert_called()

0 comments on commit ff9e76a

Please sign in to comment.