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/sandboxes | |
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/sandboxes')
-rw-r--r-- | tests/sandboxes/missing-command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sandboxes/missing-command.py b/tests/sandboxes/missing-command.py index ddf1c487f..a2b56d4a7 100644 --- a/tests/sandboxes/missing-command.py +++ b/tests/sandboxes/missing-command.py @@ -13,7 +13,7 @@ DATA_DIR = os.path.join( @pytest.mark.datafiles(DATA_DIR) -def test_missing_command(cli, tmpdir, datafiles): +def test_missing_command(cli, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) result = cli.run(project=project, args=['build', 'no-runtime.bst']) result.assert_task_error(ErrorDomain.SANDBOX, 'missing-command') |