summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_baseldap_plugin.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-12-16 14:45:37 +0100
committerTomas Babej <tbabej@redhat.com>2015-01-14 11:40:28 +0100
commit61c4ecccc1df222b153236518c9be0ac3091f94a (patch)
treef8d222fee1c359c1e7403ab914ed7f619139e721 /ipatests/test_xmlrpc/test_baseldap_plugin.py
parent10fe918acd8f7428588f2dff52f64070a9328c29 (diff)
downloadfreeipa-61c4ecccc1df222b153236518c9be0ac3091f94a.tar.gz
freeipa-61c4ecccc1df222b153236518c9be0ac3091f94a.tar.xz
freeipa-61c4ecccc1df222b153236518c9be0ac3091f94a.zip
Run pylint on tests
Drop support for pylint < 1.0 Enable ignoring unknown attributes on modules (both nose and pytest use advanced techniques, support for which only made it to pylint recently) Fix some bugs revealed by pylint Do minor refactoring or add pylint:disable directives where the linter complains. Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_baseldap_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_baseldap_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/test_baseldap_plugin.py b/ipatests/test_xmlrpc/test_baseldap_plugin.py
index 1a4bb0f54..d5b338887 100644
--- a/ipatests/test_xmlrpc/test_baseldap_plugin.py
+++ b/ipatests/test_xmlrpc/test_baseldap_plugin.py
@@ -153,7 +153,7 @@ def test_exc_callback_registration():
@callbacktest_base.register_exc_callback
- def exc_callback(self, keys, options, exc, call_func, *args, **kwargs):
+ def exc_callback_2(self, keys, options, exc, call_func, *args, **kwargs):
"""Callback on super class; doesn't affect the subclass"""
messages.append('Superclass registered callback')
raise exc