diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-10-08 14:34:57 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-10-09 00:00:25 +0200 |
commit | 1417ea1eed62e12affd9d55020eba84a4b322443 (patch) | |
tree | 4ecc29ba3da0435cf54f11c34b17003b25661d8a /source4/dsdb/tests/python/ldap.py | |
parent | d7d5858b742f1502d8738111996f42c1da2bcee1 (diff) | |
download | samba-1417ea1eed62e12affd9d55020eba84a4b322443.tar.gz samba-1417ea1eed62e12affd9d55020eba84a4b322443.tar.bz2 samba-1417ea1eed62e12affd9d55020eba84a4b322443.zip |
Remove pointless exception catching in tests.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 9 00:00:26 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/dsdb/tests/python/ldap.py')
-rwxr-xr-x | source4/dsdb/tests/python/ldap.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index 9f5b82f5cb..2e35eec10a 100755 --- a/source4/dsdb/tests/python/ldap.py +++ b/source4/dsdb/tests/python/ldap.py @@ -2658,10 +2658,7 @@ nTSecurityDescriptor:: """ + desc_base64 controls=["paged_results:1:10"]) self.assertEquals(len(res.controls), 1) self.assertEquals(res.controls[0].oid, "1.2.840.113556.1.4.319") - try: - s = str(res.controls[0]) - except: - self.assertFalse(True) + s = str(res.controls[0]) def test_operational(self): """Tests operational attributes""" |