Skip to content

Commit ff9e76a

Browse files
author
Stanislav Lysikov
committed
fix bytes
1 parent 8da5292 commit ff9e76a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/security/test_auth_ldap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ def test__ldap_get_nested_groups(self):
973973
create_default_users(self.appbuilder.session)
974974

975975
user_alice = (
976-
b"cn=test,ou=groups,dc=example,dc=org",
976+
"cn=test,ou=groups,dc=example,dc=org",
977977
{
978978
"member:1.2.840.113556.1.4.1941:": [
979979
b"cn=alice,ou=users,dc=example,dc=org"
@@ -999,6 +999,6 @@ def test__ldap_get_nested_groups(self):
999999

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

10041004
mock_con.search_s.assert_called()

0 commit comments

Comments
 (0)