From 6047a575525985dc0756ba82073772634b0993d6 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> Date: Tue, 28 Aug 2018 22:02:18 +0900 Subject: [PATCH] tests/frontend/workspaces.py: Removing some redundant tests Removed redundant tests from recently merged !740, this new test does not need to run for every different source kind. --- tests/frontend/workspace.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index a6dd54648e..86cb3952d9 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -783,14 +783,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 = { -- GitLab