From c2d469382114426521e0593d02d80ee3a6a988d6 Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Sun, 17 Nov 2024 21:05:40 +1100 Subject: [PATCH] :white_check_mark: update tests --- tests/data/workflow/snk.yaml | 18 +++++++++--------- tests/test_venv.py | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/data/workflow/snk.yaml b/tests/data/workflow/snk.yaml index fb82c64..4e47daf 100644 --- a/tests/data/workflow/snk.yaml +++ b/tests/data/workflow/snk.yaml @@ -1,7 +1,13 @@ additional_snakemake_args: [] art: null -min_snk_cli_version: 0.6.2 cli: + choice: + choices: + - a + - b + - c + default: a + help: A string to test hidden: hidden: true no_run: @@ -11,13 +17,6 @@ cli: type: bool null_annotation: default: null - choice: - choices: - - a - - b - - c - default: a - help: A string to test test: another: test: @@ -64,9 +63,10 @@ conda: true configfile: null font: cybermedium logo: MyWorkflow +min_snk_cli_version: 0.6.2 resources: [] skip_missing: false snakefile: null symlink_resources: true -tagline: 'A workflow to test the workflow logo and tagline' +tagline: A workflow to test the workflow logo and tagline version: editable diff --git a/tests/test_venv.py b/tests/test_venv.py index 155f29e..f2078e9 100644 --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -39,7 +39,7 @@ def test_install_snk_cli_in_venv(nest: Nest, args): else: snakemake = f"snakemake=={args['snakemake_version']}" mock_run.assert_called_once_with( - [pip_path, "install", snakemake, "snk_cli", "setuptools"] + [pip_path, "install", snakemake, "setuptools"] + args["dependencies"], check=True, )