diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-02-28 19:35:18 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-03-01 19:05:30 +0000 |
commit | 402cc7af5464f34d29909148dfb0876e56f97124 (patch) | |
tree | 2004c4888e528db25172ecb116d23713d3469873 /tests/elements | |
parent | d6d33c94751bd47ca77d2b2e4ac246a2dd1328a6 (diff) | |
download | buildstream-402cc7af5464f34d29909148dfb0876e56f97124.tar.gz |
tests: Remove unused parameters in functions
For parameters that are required as part of an API, prefix them
by "_" to make it clear they are unused
Diffstat (limited to 'tests/elements')
-rw-r--r-- | tests/elements/filter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/elements/filter.py b/tests/elements/filter.py index 2667bc6d9..ec9c8d627 100644 --- a/tests/elements/filter.py +++ b/tests/elements/filter.py @@ -118,7 +118,7 @@ def test_filter_workspace_open(datafiles, cli, tmpdir): @pytest.mark.datafiles(os.path.join(DATA_DIR, 'basic')) -def test_filter_workspace_open_multi(datafiles, cli, tmpdir): +def test_filter_workspace_open_multi(datafiles, cli): project = os.path.join(datafiles.dirname, datafiles.basename) result = cli.run(cwd=project, project=project, args=['workspace', 'open', 'deps-permitted.bst', 'output-orphans.bst']) @@ -488,7 +488,7 @@ def test_filter_include_with_indirect_deps(datafiles, cli, tmpdir): @pytest.mark.datafiles(os.path.join(DATA_DIR, 'basic')) -def test_filter_fails_for_nonexisting_domain(datafiles, cli, tmpdir): +def test_filter_fails_for_nonexisting_domain(datafiles, cli): project = os.path.join(datafiles.dirname, datafiles.basename) result = cli.run(project=project, args=['build', 'output-include-nonexistent-domain.bst']) result.assert_main_error(ErrorDomain.STREAM, None) |