summaryrefslogtreecommitdiff
path: root/python/samba/tests/dns_base.py
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-06-18 11:55:31 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-09-15 15:18:30 +0200
commit0fd8c69ec1ca470d273064f432c573d20a0dd6ba (patch)
tree78087a3bc543e23797cffe0f75357a217f8c6505 /python/samba/tests/dns_base.py
parent3451c5e7fb0becd1b01462fe7480027816a1a75e (diff)
downloadsamba-0fd8c69ec1ca470d273064f432c573d20a0dd6ba.tar.gz
python/samba/tests: py_gensec_update takes bytes as param
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/tests/dns_base.py')
-rw-r--r--python/samba/tests/dns_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/dns_base.py b/python/samba/tests/dns_base.py
index 4769d5f4150..56c02dd6e51 100644
--- a/python/samba/tests/dns_base.py
+++ b/python/samba/tests/dns_base.py
@@ -259,7 +259,7 @@ class DNSTKeyTest(DNSTest):
self.g.start_mech_by_name("spnego")
finished = False
- client_to_server = ""
+ client_to_server = b""
(finished, server_to_client) = self.g.update(client_to_server)
self.assertFalse(finished)