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/frontend/fetch.py | |
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/frontend/fetch.py')
-rw-r--r-- | tests/frontend/fetch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frontend/fetch.py b/tests/frontend/fetch.py index 9edfad94b..c6914fb3b 100644 --- a/tests/frontend/fetch.py +++ b/tests/frontend/fetch.py @@ -87,7 +87,7 @@ def test_fetch_default_targets(cli, tmpdir, datafiles): @pytest.mark.datafiles(os.path.join(TOP_DIR, 'consistencyerror')) -def test_fetch_consistency_error(cli, tmpdir, datafiles): +def test_fetch_consistency_error(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) # When the error occurs outside of the scheduler at load time, @@ -97,7 +97,7 @@ def test_fetch_consistency_error(cli, tmpdir, datafiles): @pytest.mark.datafiles(os.path.join(TOP_DIR, 'consistencyerror')) -def test_fetch_consistency_bug(cli, tmpdir, datafiles): +def test_fetch_consistency_bug(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) # FIXME: |