summaryrefslogtreecommitdiff
path: root/source4/libcli/security/tests/bindings.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-19 00:06:14 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-19 00:06:14 +0200
commitdb0abee678f7b079b32d08334682fcee442e206b (patch)
treed168cc6be50028944d315551bb58cb5e3b4018ca /source4/libcli/security/tests/bindings.py
parent21897a0539e31c81bb7105fc5da7829a7d58f41e (diff)
parentba5fe7122586d8b382bf78f1e1cb5dbe4293c27b (diff)
downloadsamba-db0abee678f7b079b32d08334682fcee442e206b.tar.gz
samba-db0abee678f7b079b32d08334682fcee442e206b.tar.bz2
samba-db0abee678f7b079b32d08334682fcee442e206b.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Diffstat (limited to 'source4/libcli/security/tests/bindings.py')
-rw-r--r--source4/libcli/security/tests/bindings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/security/tests/bindings.py b/source4/libcli/security/tests/bindings.py
index 82ce7aeba8..b539de833d 100644
--- a/source4/libcli/security/tests/bindings.py
+++ b/source4/libcli/security/tests/bindings.py
@@ -65,6 +65,10 @@ class DomSidTests(unittest.TestCase):
sid = security.random_sid()
self.assertTrue(str(sid).startswith("S-1-5-21-"))
+ def test_repr(self):
+ sid = security.random_sid()
+ self.assertTrue(repr(sid).startswith("Sid('S-1-5-21-"))
+
class PrivilegeTests(unittest.TestCase):
def test_privilege_name(self):