From 76b4ddf342aff6fbc010c52c2adfb618c84165ac Mon Sep 17 00:00:00 2001 From: Markus Binsteiner Date: Mon, 17 Jun 2024 15:18:49 +0200 Subject: [PATCH] test: fix test to extract metadata of unset value --- tests/test_operation_types/test_extract_metadata.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_operation_types/test_extract_metadata.py b/tests/test_operation_types/test_extract_metadata.py index b059630c0..eb8f84f74 100644 --- a/tests/test_operation_types/test_extract_metadata.py +++ b/tests/test_operation_types/test_extract_metadata.py @@ -27,7 +27,11 @@ def test_extract_metadata_all_available_data(presseeded_data_store_minimal: Kiar value = presseeded_data_store_minimal.data_registry.get_value(value_id) ops = op_type.get_operations_for_data_type(value.value_schema.type) + if not value.is_set: + continue + for op in ops.values(): + inputs = {"value": value} result = op.run(kiara=presseeded_data_store_minimal, inputs=inputs)