mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4/dsdb/tests/python: PY3 port samba4.tokengroups.krb5
gensec.Security.update takes bytes as param not string with py3 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
4186335cd8
commit
32c8c820a2
@ -149,7 +149,7 @@ class StaticTokenTest(samba.tests.TestCase):
|
||||
|
||||
client_finished = False
|
||||
server_finished = False
|
||||
server_to_client = ""
|
||||
server_to_client = b""
|
||||
|
||||
# Run the actual call loop.
|
||||
while client_finished == False and server_finished == False:
|
||||
@ -382,7 +382,7 @@ class DynamicTokenTest(samba.tests.TestCase):
|
||||
|
||||
client_finished = False
|
||||
server_finished = False
|
||||
server_to_client = ""
|
||||
server_to_client = b""
|
||||
|
||||
# Run the actual call loop.
|
||||
while client_finished == False and server_finished == False:
|
||||
|
Loading…
Reference in New Issue
Block a user