From efcc3c0d796d66c5eddeabf5f8fe00769a17b72b Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Thu, 9 Dec 2010 04:57:08 +0200 Subject: s4-test/repl_schema: use 'top' as default base class for our test classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test) --- source4/torture/drs/python/repl_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py index 6e31dc8c1c..997c94874f 100644 --- a/source4/torture/drs/python/repl_schema.py +++ b/source4/torture/drs/python/repl_schema.py @@ -125,7 +125,7 @@ class DrsReplSchemaTestCase(samba.tests.TestCase): "governsId": "1.2.840." + str(random.randint(1,100000)) + ".1.5.13", "instanceType": "4", "objectClassCategory": "1", - "subClassOf": "organizationalPerson", + "subClassOf": "top", "systemOnly": "FALSE"} # allow overriding/adding attributes if not attrs is None: -- cgit