diff options
| author | Martin Babinsky <mbabinsk@redhat.com> | 2015-10-14 08:59:08 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2015-10-22 13:15:43 +0200 |
| commit | af1f6721e1941af2012d38e1e8f628eef7ec014f (patch) | |
| tree | 268825110885eaf8d2ae5fa7a5eaac96fc646698 /ipatests/test_xmlrpc/test_user_plugin.py | |
| parent | 6a401fbf31bd35220b47ad2a8552d1f93928a2eb (diff) | |
| download | freeipa-af1f6721e1941af2012d38e1e8f628eef7ec014f.tar.gz freeipa-af1f6721e1941af2012d38e1e8f628eef7ec014f.tar.xz freeipa-af1f6721e1941af2012d38e1e8f628eef7ec014f.zip | |
fix class teardown in user plugin tests
https://fedorahosted.org/freeipa/ticket/5368
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_user_plugin.py')
| -rw-r--r-- | ipatests/test_xmlrpc/test_user_plugin.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_xmlrpc/test_user_plugin.py b/ipatests/test_xmlrpc/test_user_plugin.py index 18305ad02..3d7b5e6ba 100644 --- a/ipatests/test_xmlrpc/test_user_plugin.py +++ b/ipatests/test_xmlrpc/test_user_plugin.py @@ -1619,6 +1619,11 @@ class test_denied_bind_with_expired_principal(XMLRPC_test): cls.connection = ldap.initialize('ldap://{host}' .format(host=api.env.host)) + @classmethod + def teardown_class(cls): + cls.failsafe_del(api.Object.user, user1) + super(test_denied_bind_with_expired_principal, cls).teardown_class() + def test_1_bind_as_test_user(self): self.failsafe_add( api.Object.user, |
