diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2016-05-18 21:00:27 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2017-10-16 15:11:29 +0200 |
commit | 948c1a4d423dba289342844fb177bd5fa9828fc0 (patch) | |
tree | 327d0c450751472f957db40410674cad38381315 /src/tests | |
parent | a3bed9df5a47bfc84b82341f0f7e693e2b14a67a (diff) | |
download | sssd-948c1a4d423dba289342844fb177bd5fa9828fc0.tar.gz sssd-948c1a4d423dba289342844fb177bd5fa9828fc0.tar.xz sssd-948c1a4d423dba289342844fb177bd5fa9828fc0.zip |
intg: prevent "TypeError: must be type, not classobj"
http://stackoverflow.com/questions/9698614/super-raises-typeerror-must-be-type-not-classobj-for-new-style-class
========================== ERRORS ===========================
_______ ERROR at setup of test_regression_ticket2163 ________
Traceback (most recent call last):
File "src/tests/intg/test_pysss_nss_idmap.py", line 48, in ad_inst
instance.teardown()
File "src/tests/intg/ds_openldap.py", line 371, in teardown
super(FakeAD, self).teardown()
TypeError: super() argument 1 must be type, not classobj
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/intg/ds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/intg/ds.py b/src/tests/intg/ds.py index 66cb8875d..faf664ce0 100644 --- a/src/tests/intg/ds.py +++ b/src/tests/intg/ds.py @@ -20,7 +20,7 @@ import ldap -class DS: +class DS(object): """Abstract directory server instance.""" def __init__(self, dir, port, base_dn, admin_rdn, admin_pw): |