s4-dsdb Don't use None as the input to the GENSEC loop in tokengroups test
authorAndrew Bartlett <abartlet@samba.org>
Wed, 19 Jan 2011 20:20:06 +0000 (07:20 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 19 Jan 2011 22:11:31 +0000 (23:11 +0100)
The input to gensec.update() should always be a string.

Andrew Bartlett

source4/dsdb/tests/python/token_group.py

index a35f1836e200d5c8d8c4f603b571a22e5813d6e0..e3ffbac2d549f921f665feb9eb11236a4b0deb13 100755 (executable)
@@ -133,7 +133,7 @@ class TokenTest(samba.tests.TestCase):
 
         client_finished = False
         server_finished = False
-        server_to_client = None
+        server_to_client = ""
         
         """Run the actual call loop"""
         while client_finished == False and server_finished == False: