summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-08-28 22:02:18 +0900
committerJürg Billeter <j@bitron.ch>2018-08-28 15:39:18 +0200
commit0de2f87bec2901bb3588c55a7739c70dbc4456d7 (patch)
tree6f11451a033f12565ac8693c2bb5da3a62230913
parent765dd3d9cbecd9193b606c5a545cf79029337566 (diff)
downloadbuildstream-juerg/workspaced-dependencies-1.2.tar.gz
tests/frontend/workspaces.py: Removing some redundant testsjuerg/workspaced-dependencies-1.2
Removed redundant tests from recently merged !740, this new test does not need to run for every different source kind.
-rw-r--r--tests/frontend/workspace.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py
index f5136a6f7..8799362e8 100644
--- a/tests/frontend/workspace.py
+++ b/tests/frontend/workspace.py
@@ -715,14 +715,14 @@ def test_inconsitent_pipeline_message(cli, tmpdir, datafiles, kind):
@pytest.mark.datafiles(DATA_DIR)
-@pytest.mark.parametrize("kind", repo_kinds)
@pytest.mark.parametrize("strict", [("strict"), ("non-strict")])
-def test_cache_key_workspace_in_dependencies(cli, tmpdir, datafiles, kind, strict):
+def test_cache_key_workspace_in_dependencies(cli, tmpdir, datafiles, strict):
checkout = os.path.join(str(tmpdir), 'checkout')
- element_name, project, workspace = open_workspace(cli, os.path.join(str(tmpdir), 'repo-a'), datafiles, kind, False)
+ element_name, project, workspace = open_workspace(cli, os.path.join(str(tmpdir), 'repo-a'),
+ datafiles, 'git', False)
element_path = os.path.join(project, 'elements')
- back_dep_element_name = 'workspace-test-{}-back-dep.bst'.format(kind)
+ back_dep_element_name = 'workspace-test-back-dep.bst'
# Write out our test target
element = {