From bb02aa5e0020e9f41d353d59889888caf9867b91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Thu, 13 Oct 2011 08:21:31 +0200 Subject: [PATCH] s4:ldap.py - we test the creation of secrets already in the "systemOnly" testcase Reviewed-by: abartlet --- source4/dsdb/tests/python/ldap.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index b47db94579..20e05faaf5 100755 --- a/source4/dsdb/tests/python/ldap.py +++ b/source4/dsdb/tests/python/ldap.py @@ -101,15 +101,6 @@ class BasicTests(unittest.TestCase): """Test objectClass behaviour""" print "Test objectClass behaviour""" - # We cannot create LSA-specific objects (oc "secret" or "trustedDomain") - try: - self.ldb.add({ - "dn": "cn=Test Secret,cn=system," + self.base_dn, - "objectClass": "secret" }) - self.fail() - except LdbError, (num, _): - self.assertEquals(num, ERR_UNWILLING_TO_PERFORM) - # Invalid objectclass specified try: self.ldb.add({ -- 2.34.1