diff options
author | Matthieu Patou <mat@matws.net> | 2011-02-09 21:51:34 +0300 |
---|---|---|
committer | Matthieu Patou <mat@matws.net> | 2011-02-21 10:55:59 +0300 |
commit | 6d48a6ddb3af7547d4ad004858808d08ac8d1594 (patch) | |
tree | 20586144dfe938110201e89cfa962ff786ab470c /source4/dsdb/tests/python/sec_descriptor.py | |
parent | b1595f40c506bb180758b5ee60122de5e29e0ccd (diff) | |
download | samba-6d48a6ddb3af7547d4ad004858808d08ac8d1594.tar.gz samba-6d48a6ddb3af7547d4ad004858808d08ac8d1594.tar.bz2 samba-6d48a6ddb3af7547d4ad004858808d08ac8d1594.zip |
s4-unittests: replace assertEquals(res, []) by assertEquals(len(res), 0)
Diffstat (limited to 'source4/dsdb/tests/python/sec_descriptor.py')
-rwxr-xr-x | source4/dsdb/tests/python/sec_descriptor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/sec_descriptor.py b/source4/dsdb/tests/python/sec_descriptor.py index 705bf89581..b3e6207336 100755 --- a/source4/dsdb/tests/python/sec_descriptor.py +++ b/source4/dsdb/tests/python/sec_descriptor.py @@ -1262,7 +1262,7 @@ class DaclDescriptorTests(DescriptorTests): res = self.ldb_admin.search(base=self.base_dn, scope=SCOPE_SUBTREE, \ expression="distinguishedName=%s" % object_dn) # Make sure top testing OU has been deleted before starting the test - self.assertEqual(res, []) + self.assertEqual(len(res), 0) self.ldb_admin.create_ou(object_dn) desc_sddl = self.sd_utils.get_sd_as_sddl(object_dn) # Make sure there are inheritable ACEs initially |