diff options
Diffstat (limited to 'source4/libcli/security')
-rw-r--r-- | source4/libcli/security/tests/bindings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/security/tests/bindings.py b/source4/libcli/security/tests/bindings.py index aee18a63b8..2b23ecf05f 100644 --- a/source4/libcli/security/tests/bindings.py +++ b/source4/libcli/security/tests/bindings.py @@ -58,8 +58,8 @@ class DomSidTests(unittest.TestCase): def test_sid_equal(self): sid1 = security.dom_sid("S-1-5-21") sid2 = security.dom_sid("S-1-5-21") - self.assertTrue(sid1.__eq__(sid1)) - self.assertTrue(sid1.__eq__(sid2)) + self.assertEquals(sid1, sid1) + self.assertEquals(sid1, sid2) def test_random(self): sid = security.random_sid() |