Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
improve two unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 25, 2018
1 parent 9acbf70 commit 66f16f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _unittests/ut_automation/test_jenkins.py
Expand Up @@ -66,7 +66,7 @@ def test_jenkins_local27(self):
OutputPrint=__name__ == "__main__")

modules = default_jenkins_jobs(".*yml.*", ".*update.*")
self.assertEqual(len(modules), 30)
self.assertEqual(len(modules), 31)
modules = default_jenkins_jobs(".*27.*", ".*update.*")
self.assertEqual(len(modules), 0)

Expand Down
4 changes: 2 additions & 2 deletions _unittests/ut_module/test_code_style.py
Expand Up @@ -123,7 +123,7 @@ def test_style_src(self):
skip.extend(["Unable to import 'fairtest'"])

check_pep8(src_, fLOG=fLOG, skip=skip,
run_cmd_filter=self.run_cmd_filter,
# run_cmd_filter=self.run_cmd_filter,
pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
'C0111', 'R1702', 'C0200', 'W0703', 'W0223',
'W020', 'W0212', 'C0123', 'C0302', 'W0221',
Expand Down Expand Up @@ -175,7 +175,7 @@ def test_style_test(self):
skip.extend(["Unable to import 'fairtest'"])

check_pep8(test, fLOG=fLOG, neg_pattern="temp_.*", skip=skip,
run_cmd_filter=self.run_cmd_filter,
# run_cmd_filter=self.run_cmd_filter,
pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
'C0111', 'C0200', 'C0122', "W0123", 'W0703',
'W0212', 'W0201', 'R1711', 'R1714'))
Expand Down

0 comments on commit 66f16f6

Please sign in to comment.