From 6c65d12bf870759cffb91d66544adcb6a716e208 Mon Sep 17 00:00:00 2001 From: stroeder Date: Thu, 16 Nov 2017 16:10:35 +0000 Subject: [PATCH] Tests/ scripts do not directly call SlapdTestCase.setUpClass() anymore --- CHANGES | 2 +- Tests/t_cext.py | 2 +- Tests/t_ldapobject.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 9534aeb..32b1c7c 100644 --- a/CHANGES +++ b/CHANGES @@ -6,7 +6,7 @@ Changes since 2.5.1: Lib/ Tests/ -* +* scripts do not directly call SlapdTestCase.setUpClass() anymore ---------------------------------------------------------------- Released 2.5.1 2017-11-12 diff --git a/Tests/t_cext.py b/Tests/t_cext.py index 6add784..e1d79d3 100644 --- a/Tests/t_cext.py +++ b/Tests/t_cext.py @@ -26,7 +26,7 @@ class TestLdapCExtension(SlapdTestCase): @classmethod def setUpClass(cls): - SlapdTestCase.setUpClass() + super(TestLdapCExtension, cls).setUpClass() # add two initial objects after server was started and is still empty suffix_dc = cls.server.suffix.split(',')[0][3:] cls.server._log.debug( diff --git a/Tests/t_ldapobject.py b/Tests/t_ldapobject.py index e03ca1e..af83e46 100644 --- a/Tests/t_ldapobject.py +++ b/Tests/t_ldapobject.py @@ -65,7 +65,7 @@ class Test01_SimpleLDAPObject(SlapdTestCase): @classmethod def setUpClass(cls): - SlapdTestCase.setUpClass() + super(Test01_SimpleLDAPObject, cls).setUpClass() # insert some Foo* objects via ldapadd cls.server.ldapadd( LDIF_TEMPLATE % {