author | Andrew Halberstadt <ahalberstadt@mozilla.com> |
Thu, 20 Sep 2018 20:27:45 +0000 | |
changeset 437704 | 545de0d5b961f452953ae951cca4974dbb84ba16 |
parent 437703 | 98b7811a0baee813fd14000e04127f58596d0e81 |
child 437705 | 35c033207fa3f387ade88d077603705c5931b65b |
push id | 108133 |
push user | cbrindusan@mozilla.com |
push date | Fri, 21 Sep 2018 17:33:11 +0000 |
treeherder | mozilla-inbound@1879856ca1ab [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | rwood |
bugs | 1448417 |
milestone | 64.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
python/mozlint/test/python.ini | file | annotate | diff | comparison | revisions | |
python/mozlint/test/test_filterpaths.py | file | annotate | diff | comparison | revisions | |
python/mozlint/test/test_pathutils.py | file | annotate | diff | comparison | revisions |
--- a/python/mozlint/test/python.ini +++ b/python/mozlint/test/python.ini @@ -1,10 +1,10 @@ [DEFAULT] subsuite = mozlint, os == "linux" skip-if = python == 3 [test_cli.py] -[test_filterpaths.py] [test_formatters.py] [test_parser.py] +[test_pathutils.py] [test_roller.py] [test_types.py]
rename from python/mozlint/test/test_filterpaths.py rename to python/mozlint/test/test_pathutils.py --- a/python/mozlint/test/test_filterpaths.py +++ b/python/mozlint/test/test_pathutils.py @@ -93,17 +93,17 @@ TEST_CASES = ( 'include': ['**/*.py'], 'exclude': ['**/c.py', 'subdir1/subdir3'], 'expected': ['a.py', 'subdir1/b.py'], }, ) @pytest.mark.parametrize('test', TEST_CASES) -def test_include_exclude(filterpaths, test): +def test_filterpaths(filterpaths, test): expected = test.pop('expected') paths = filterpaths(**test) assert_paths(paths, expected) if __name__ == '__main__': mozunit.main()