lordgamez commented on code in PR #2059:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2059#discussion_r2533894007
##########
behave_framework/src/minifi_test_framework/steps/flow_building_steps.py:
##########
@@ -77,7 +78,10 @@ def step_impl(context: MinifiTestContext, processor_type:
str):
@step('the "{property_name}" property of the {processor_name} processor is set
to "{property_value}"')
def step_impl(context: MinifiTestContext, property_name: str, processor_name:
str, property_value: str):
processor =
context.get_or_create_default_minifi_container().flow_definition.get_processor(processor_name)
- processor.add_property(property_name, property_value)
+ if property_value == "(not set)":
+ processor.remove_property(property_name)
+ else:
+ processor.add_property(property_name, property_value)
Review Comment:
This is the legacy handling, we do not want to change this at this time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]