summaryrefslogtreecommitdiff
path: root/tests/sources/local.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-02-28 19:31:03 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-01 19:05:30 +0000
commitd6d33c94751bd47ca77d2b2e4ac246a2dd1328a6 (patch)
tree1739ba821e90215f89901bed10326f4142360f21 /tests/sources/local.py
parent8f9b3dcdaca6f5179b79328b17b3e2c71db19e73 (diff)
downloadbuildstream-d6d33c94751bd47ca77d2b2e4ac246a2dd1328a6.tar.gz
tests: Remove unused variables
Diffstat (limited to 'tests/sources/local.py')
-rw-r--r--tests/sources/local.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/sources/local.py b/tests/sources/local.py
index 0da9e8cc1..0b0227d1c 100644
--- a/tests/sources/local.py
+++ b/tests/sources/local.py
@@ -30,7 +30,7 @@ def test_non_regular_file_or_directory(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)
localfile = os.path.join(project, 'file.txt')
- for file_type in filetypegenerator.generate_file_types(localfile):
+ for _file_type in filetypegenerator.generate_file_types(localfile):
result = cli.run(project=project, args=[
'show', 'target.bst'
])
@@ -130,7 +130,6 @@ def test_stage_symlink(cli, tmpdir, datafiles):
@pytest.mark.datafiles(os.path.join(DATA_DIR, 'file-exists'))
def test_stage_file_exists(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)
- checkoutdir = os.path.join(str(tmpdir), "checkout")
# Build, checkout
result = cli.run(project=project, args=['build', 'target.bst'])