pylint: fix bad-classmethod-argument

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Jan Barta 2016-06-03 12:52:54 +02:00 committed by Martin Basti
parent 9bc57a01e1
commit f252f50987
2 changed files with 2 additions and 3 deletions

View File

@ -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):

View File

@ -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,