From f252f50987cfb1234671ca1742c11a0eebe8633c Mon Sep 17 00:00:00 2001 From: Jan Barta <55042barta@sstebrno.eu> Date: Sep 22 2016 14:52:57 +0000 Subject: pylint: fix bad-classmethod-argument Reviewed-By: Tomas Krizek Reviewed-By: Florence Blanc-Renaud --- diff --git a/ipatests/test_ipalib/test_rpc.py b/ipatests/test_ipalib/test_rpc.py index f038951..ae83a5d 100644 --- a/ipatests/test_ipalib/test_rpc.py +++ b/ipatests/test_ipalib/test_rpc.py @@ -257,7 +257,7 @@ class test_xmlclient(PluginTester): class test_xml_introspection(object): @classmethod - def setup_class(self): + def setup_class(cls): try: api.Backend.xmlclient.connect() except (errors.NetworkError, IOError): @@ -265,7 +265,7 @@ class test_xml_introspection(object): (__name__, api.env.xmlrpc_uri)) @classmethod - def teardown_class(self): + def teardown_class(cls): request.destroy_context() def test_list_methods(self): diff --git a/pylintrc b/pylintrc index 102d2d8..115b295 100644 --- a/pylintrc +++ b/pylintrc @@ -59,7 +59,6 @@ disable= unused-argument, unused-variable, useless-else-on-loop, - bad-classmethod-argument, bad-continuation, bad-mcs-classmethod-argument, bad-mcs-method-argument,