[SCM] Samba Shared Repository - branch master updated -
ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b
Jelmer Vernooij
jelmer at samba.org
Thu Sep 18 22:06:23 GMT 2008
The branch, master has been updated
via ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b (commit)
from 6f6e42ce60e3f9adfebffa7db04eafe717942c1b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit ba5fe7122586d8b382bf78f1e1cb5dbe4293c27b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Sep 19 00:05:34 2008 +0200
Add test for Sid.__repr__.
-----------------------------------------------------------------------
Summary of changes:
source4/libcli/security/tests/bindings.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/libcli/security/tests/bindings.py b/source4/libcli/security/tests/bindings.py
index 82ce7ae..b539de8 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):
--
Samba Shared Repository
More information about the samba-cvs
mailing list