git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix and test python scripts and kerberos
[samba.git]
/
source4
/
auth
/
credentials
/
tests
/
bindings.py
diff --git
a/source4/auth/credentials/tests/bindings.py
b/source4/auth/credentials/tests/bindings.py
index d2ca68d11578276b4b75df0375e5b4b0859c596a..d0a99502c17d94de43b990cbf7970928d150202b 100644
(file)
--- a/
source4/auth/credentials/tests/bindings.py
+++ b/
source4/auth/credentials/tests/bindings.py
@@
-67,6
+67,8
@@
class CredentialsTests(unittest.TestCase):
self.assertTrue(self.creds.is_anonymous())
self.creds.set_username("somebody")
self.assertFalse(self.creds.is_anonymous())
self.assertTrue(self.creds.is_anonymous())
self.creds.set_username("somebody")
self.assertFalse(self.creds.is_anonymous())
+ self.creds.set_anonymous()
+ self.assertTrue(self.creds.is_anonymous())
def test_workstation(self):
# FIXME: This is uninitialised, it should be None
def test_workstation(self):
# FIXME: This is uninitialised, it should be None