mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
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:
parent
9bc57a01e1
commit
f252f50987
@ -257,7 +257,7 @@ class test_xmlclient(PluginTester):
|
|||||||
|
|
||||||
class test_xml_introspection(object):
|
class test_xml_introspection(object):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup_class(self):
|
def setup_class(cls):
|
||||||
try:
|
try:
|
||||||
api.Backend.xmlclient.connect()
|
api.Backend.xmlclient.connect()
|
||||||
except (errors.NetworkError, IOError):
|
except (errors.NetworkError, IOError):
|
||||||
@ -265,7 +265,7 @@ class test_xml_introspection(object):
|
|||||||
(__name__, api.env.xmlrpc_uri))
|
(__name__, api.env.xmlrpc_uri))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def teardown_class(self):
|
def teardown_class(cls):
|
||||||
request.destroy_context()
|
request.destroy_context()
|
||||||
|
|
||||||
def test_list_methods(self):
|
def test_list_methods(self):
|
||||||
|
1
pylintrc
1
pylintrc
@ -59,7 +59,6 @@ disable=
|
|||||||
unused-argument,
|
unused-argument,
|
||||||
unused-variable,
|
unused-variable,
|
||||||
useless-else-on-loop,
|
useless-else-on-loop,
|
||||||
bad-classmethod-argument,
|
|
||||||
bad-continuation,
|
bad-continuation,
|
||||||
bad-mcs-classmethod-argument,
|
bad-mcs-classmethod-argument,
|
||||||
bad-mcs-method-argument,
|
bad-mcs-method-argument,
|
||||||
|
Loading…
Reference in New Issue
Block a user