Rename test tool to describe shape, not test scenario

Per review: the tool itself has a data input and a paired collection
input with structured_like output -- it doesn't do mapping-over.
Mapping-over is what the regression test does.
This commit is contained in:
mvdbeek
2026-05-19 19:50:56 +02:00
parent ec74829440
commit 50fd6d3a10
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ def test_map_over_empty_collection(target_history: TargetHistory, required_tool:
assert "on collection 1" in name
@requires_tool_id("collection_mapped_over_empty_structured_like")
@requires_tool_id("collection_paired_structured_like_with_data_input")
def test_map_over_empty_with_structured_like_non_mapped_collection_input(
target_history: TargetHistory, required_tool: RequiredTool
):
@@ -1,4 +1,4 @@
<tool id="collection_mapped_over_empty_structured_like" name="collection_mapped_over_empty_structured_like" version="0.1.0">
<tool id="collection_paired_structured_like_with_data_input" name="collection_paired_structured_like_with_data_input" version="0.1.0">
<command><![CDATA[
cat '$input1' '${shape.forward}' '${shape.reverse}' > '${list_output.forward}';
cat '$input1' '${shape.reverse}' '${shape.forward}' > '${list_output.reverse}'
+1 -1
View File
@@ -189,7 +189,7 @@
<tool file="collection_paired_default.xml" />
<tool file="collection_paired_structured_like.xml" />
<tool file="collection_paired_conditional_structured_like.xml" />
<tool file="collection_mapped_over_empty_structured_like.xml" />
<tool file="collection_paired_structured_like_with_data_input.xml" />
<tool file="collection_nested_test.xml" />
<tool file="collection_nested_default.xml" />
<tool file="collection_mixed_param.xml" />
@@ -75,7 +75,7 @@ class TestStructuredLikeUnpopulatedRaisesNotReady(integration_util.IntegrationTe
"shape": {"src": "hdca", "id": shape_hdca["id"]},
}
response = self.dataset_populator.run_tool_raw(
tool_id="collection_mapped_over_empty_structured_like",
tool_id="collection_paired_structured_like_with_data_input",
inputs=inputs,
history_id=history_id,
)