Py3: Remove subclassing from object

Python 2 had old style and new style classes. Python 3 has only new
style classes. There is no point to subclass from object any more.

See: https://pagure.io/freeipa/issue/7715
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Christian Heimes
2018-09-26 11:59:50 +02:00
parent 4a58adf79e
commit b431e9b684
107 changed files with 217 additions and 201 deletions

View File

@@ -45,7 +45,7 @@ if six.PY3:
@pytest.mark.tier0
@pytest.mark.needs_ipaapi
class test_ldap(object):
class test_ldap:
"""
Test various LDAP client bind methods.
"""
@@ -142,7 +142,7 @@ class test_ldap(object):
@pytest.mark.tier0
@pytest.mark.needs_ipaapi
class test_LDAPEntry(object):
class test_LDAPEntry:
"""
Test the LDAPEntry class
"""