summaryrefslogtreecommitdiff
path: root/source4/auth/credentials/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-24 01:05:19 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-24 01:05:19 +0100
commit9a3cbd276bc60afa254a64216435f7448b8c453f (patch)
tree4169a5103f8ea4f17e5a9b750895d127b0e9e98a /source4/auth/credentials/tests
parent7af1c83e45e506568667ef8e25912fa0530103cd (diff)
downloadsamba-9a3cbd276bc60afa254a64216435f7448b8c453f.tar.gz
samba-9a3cbd276bc60afa254a64216435f7448b8c453f.tar.bz2
samba-9a3cbd276bc60afa254a64216435f7448b8c453f.zip
python: Add bindings for cli_credentials_set_cmdline_callbacks().
(This used to be commit 557207f86ba901262e76704df5c51888b2737ddf)
Diffstat (limited to 'source4/auth/credentials/tests')
-rw-r--r--source4/auth/credentials/tests/bindings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/credentials/tests/bindings.py b/source4/auth/credentials/tests/bindings.py
index 8312e77e9e..d2ca68d115 100644
--- a/source4/auth/credentials/tests/bindings.py
+++ b/source4/auth/credentials/tests/bindings.py
@@ -83,6 +83,9 @@ class CredentialsTests(unittest.TestCase):
# Just check the method is there and doesn't raise an exception
self.creds.guess()
+ def test_set_cmdline_callbacks(self):
+ self.creds.set_cmdline_callbacks()
+
def test_authentication_requested(self):
self.creds.set_username("")
self.assertFalse(self.creds.authentication_requested())