From 7c8e5e21031751d1a9bcc090a313c2bfa5409c8a Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Tue, 28 May 2024 13:47:00 +0200 Subject: [PATCH] add assertion that autoupdate does not modify input description --- tests/test_cmd_autoupdate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_cmd_autoupdate.py b/tests/test_cmd_autoupdate.py index 0229d9784..87f769c28 100644 --- a/tests/test_cmd_autoupdate.py +++ b/tests/test_cmd_autoupdate.py @@ -127,6 +127,9 @@ def test_autoupdate_workflow_from_multiple_tool_sheds(self): assert wf["steps"]["1"]["tool_version"] != "9.3+galaxy0" # Assert testtoolshed tool is updated assert wf["steps"]["2"]["tool_version"] != "0.69" + # Assert that name and description of inputs in not modified + assert wf["steps"]["0"]["inputs"][0]["name"] == "pe-fastq" + assert wf["steps"]["0"]["inputs"][0]["description"] == "" def test_autoupdate_workflow_unexisting_version(self): """Test autoupdate command for a workflow where the version of the tool is not in the toolshed."""