summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipapython
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-01-15 16:58:38 +0100
committerMartin Basti <mbasti@redhat.com>2016-02-11 11:06:39 +0100
commit2ce8921fe69ed58871f8e33e3899ad80dcc28c0e (patch)
treec91786320fca02c4ce473ef9e6197aa610cde0fc /ipatests/test_ipapython
parent5ac3a3cee534a16db86c541b9beff4939f03410e (diff)
downloadfreeipa-2ce8921fe69ed58871f8e33e3899ad80dcc28c0e.tar.gz
freeipa-2ce8921fe69ed58871f8e33e3899ad80dcc28c0e.tar.xz
freeipa-2ce8921fe69ed58871f8e33e3899ad80dcc28c0e.zip
make lint: use config file and plugin for pylint
Our custom implementation of pylint checker is often broken by incompatible change on pylint side. Using supported solutions (config file, pylint plugins) should avoid this issue. The plugin adds missing (dynamic) member to classes in abstract syntax tree generated for pylint, instead of just ignoring missing members and all sub-members. This should improve pylint detection of typos and missing members in api. env and test config. make-lint python script has been removed, to run pylint execute 'make lint' https://fedorahosted.org/freeipa/ticket/5615 Reviewed-By: David Kupka <dkupka@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipatests/test_ipapython')
-rw-r--r--ipatests/test_ipapython/test_ipautil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_ipapython/test_ipautil.py b/ipatests/test_ipapython/test_ipautil.py
index 1197d5ce5..8a437f83e 100644
--- a/ipatests/test_ipapython/test_ipautil.py
+++ b/ipatests/test_ipapython/test_ipautil.py
@@ -384,6 +384,8 @@ class TestTimeParser(object):
nose.tools.assert_equal(800000, time.microsecond)
def test_time_zones(self):
+ # pylint: disable=no-member
+
timestr = "20051213141205Z"
time = ipautil.parse_generalized_time(timestr)