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/integration/manual.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/integration/manual.py')
-rw-r--r-- | tests/integration/manual.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/manual.py b/tests/integration/manual.py index f4ad6f9db..507434eaa 100644 --- a/tests/integration/manual.py +++ b/tests/integration/manual.py @@ -33,7 +33,7 @@ def create_manual_element(name, path, config, variables, environment): @pytest.mark.datafiles(DATA_DIR) @pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') -def test_manual_element(cli, tmpdir, datafiles): +def test_manual_element(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') element_path = os.path.join(project, 'elements') @@ -67,7 +67,7 @@ strip @pytest.mark.datafiles(DATA_DIR) @pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') -def test_manual_element_environment(cli, tmpdir, datafiles): +def test_manual_element_environment(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') element_path = os.path.join(project, 'elements') @@ -97,7 +97,7 @@ def test_manual_element_environment(cli, tmpdir, datafiles): @pytest.mark.datafiles(DATA_DIR) @pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') -def test_manual_element_noparallel(cli, tmpdir, datafiles): +def test_manual_element_noparallel(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') element_path = os.path.join(project, 'elements') @@ -132,7 +132,7 @@ def test_manual_element_noparallel(cli, tmpdir, datafiles): @pytest.mark.datafiles(DATA_DIR) @pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') -def test_manual_element_logging(cli, tmpdir, datafiles): +def test_manual_element_logging(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) element_path = os.path.join(project, 'elements') element_name = 'import/import.bst' |