Skip to content

Commit a77a083

Browse files
committed
Fix test class
TestSubschemaUrlfetch must be a subclass of TestCase, not TestSuite. Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent ead3b32 commit a77a083

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/t_ldap_schema_subentry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
os.path.join(HERE, 'data', 'subschema-openldap-all.ldif'),
2626
)
2727

28+
2829
class TestSubschemaLDIF(unittest.TestCase):
2930
"""
3031
test ldap.schema.SubSchema with subschema subentries read from LDIF files
@@ -49,7 +50,7 @@ def test_subschema_file(self):
4950
self.assertEqual(attributetype.oid, oid)
5051

5152

52-
class TestSubschemaUrlfetch(unittest.TestSuite):
53+
class TestSubschemaUrlfetch(unittest.TestCase):
5354
def test_urlfetch_file(self):
5455
freeipa_uri = 'file://{}'.format(TEST_SUBSCHEMA_FILES[0])
5556
dn, schema = ldap.schema.urlfetch(freeipa_uri)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy