diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-02-28 19:31:03 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-03-01 19:05:30 +0000 |
commit | d6d33c94751bd47ca77d2b2e4ac246a2dd1328a6 (patch) | |
tree | 1739ba821e90215f89901bed10326f4142360f21 /tests/integration | |
parent | 8f9b3dcdaca6f5179b79328b17b3e2c71db19e73 (diff) | |
download | buildstream-d6d33c94751bd47ca77d2b2e4ac246a2dd1328a6.tar.gz |
tests: Remove unused variables
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/build-uid.py | 3 | ||||
-rw-r--r-- | tests/integration/cachedfail.py | 3 | ||||
-rw-r--r-- | tests/integration/compose-symlinks.py | 3 | ||||
-rw-r--r-- | tests/integration/manual.py | 1 |
4 files changed, 1 insertions, 9 deletions
diff --git a/tests/integration/build-uid.py b/tests/integration/build-uid.py index 88b887b5e..9c2c6f06b 100644 --- a/tests/integration/build-uid.py +++ b/tests/integration/build-uid.py @@ -20,7 +20,6 @@ DATA_DIR = os.path.join( @pytest.mark.datafiles(DATA_DIR) def test_build_uid_overridden(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) - checkout = os.path.join(cli.directory, 'checkout') element_name = 'build-uid/build-uid.bst' project_config = { @@ -39,7 +38,6 @@ def test_build_uid_overridden(cli, tmpdir, datafiles): @pytest.mark.datafiles(DATA_DIR) def test_build_uid_in_project(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) - checkout = os.path.join(cli.directory, 'checkout') element_name = 'build-uid/build-uid-1023.bst' project_config = { @@ -58,7 +56,6 @@ def test_build_uid_in_project(cli, tmpdir, datafiles): @pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_build_uid_default(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) - checkout = os.path.join(cli.directory, 'checkout') element_name = 'build-uid/build-uid-default.bst' result = cli.run(project=project, args=['build', element_name]) diff --git a/tests/integration/cachedfail.py b/tests/integration/cachedfail.py index ad91ea978..2b5fbb0e1 100644 --- a/tests/integration/cachedfail.py +++ b/tests/integration/cachedfail.py @@ -24,7 +24,6 @@ DATA_DIR = os.path.join( def test_build_checkout_cached_fail(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) element_path = os.path.join(project, 'elements', 'element.bst') - workspace = os.path.join(cli.directory, 'workspace') checkout = os.path.join(cli.directory, 'checkout') # Write out our test target @@ -69,8 +68,6 @@ def test_build_depend_on_cached_fail(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) dep_path = os.path.join(project, 'elements', 'dep.bst') target_path = os.path.join(project, 'elements', 'target.bst') - workspace = os.path.join(cli.directory, 'workspace') - checkout = os.path.join(cli.directory, 'checkout') dep = { 'kind': 'script', diff --git a/tests/integration/compose-symlinks.py b/tests/integration/compose-symlinks.py index 027feea7c..aa943deff 100644 --- a/tests/integration/compose-symlinks.py +++ b/tests/integration/compose-symlinks.py @@ -21,11 +21,10 @@ DATA_DIR = os.path.join( # Test that staging a file inside a directory symlink fails. # # Regression test for https://gitlab.com/BuildStream/buildstream/issues/270 +# noinspection PyUnusedLocal @pytest.mark.datafiles(DATA_DIR) def test_compose_symlinks(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) - checkout = os.path.join(cli.directory, 'checkout') - element_path = os.path.join(project, 'elements') # Symlinks do not survive being placed in a source distribution # ('setup.py sdist'), so we have to create the one we need here. diff --git a/tests/integration/manual.py b/tests/integration/manual.py index 97cbec537..f4ad6f9db 100644 --- a/tests/integration/manual.py +++ b/tests/integration/manual.py @@ -134,7 +134,6 @@ def test_manual_element_noparallel(cli, tmpdir, datafiles): @pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_manual_element_logging(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) - checkout = os.path.join(cli.directory, 'checkout') element_path = os.path.join(project, 'elements') element_name = 'import/import.bst' |