This is an automated email from the ASF dual-hosted git repository. martinzink pushed a commit to branch MINIFICPP-2711 in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 49b463f8140b9f78cd690417f68c4310707280b9 Author: Martin Zink <[email protected]> AuthorDate: Thu Feb 12 13:59:22 2026 +0100 review changes --- behave_framework/src/minifi_test_framework/containers/container.py | 2 +- behave_framework/src/minifi_test_framework/steps/core_steps.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/behave_framework/src/minifi_test_framework/containers/container.py b/behave_framework/src/minifi_test_framework/containers/container.py index cf87e2208..62180f3c1 100644 --- a/behave_framework/src/minifi_test_framework/containers/container.py +++ b/behave_framework/src/minifi_test_framework/containers/container.py @@ -101,7 +101,7 @@ class Container: def is_deployed(self) -> bool: return self.container is not None - def deploy(self, context: "Union[MinifiTestContext, None]") -> bool: + def deploy(self, context: MinifiTestContext | None) -> bool: if self.is_deployed(): logging.info(f"Container '{self.container_name}' is already deployed.") return True diff --git a/behave_framework/src/minifi_test_framework/steps/core_steps.py b/behave_framework/src/minifi_test_framework/steps/core_steps.py index 4c118d6b4..a8bf7780b 100644 --- a/behave_framework/src/minifi_test_framework/steps/core_steps.py +++ b/behave_framework/src/minifi_test_framework/steps/core_steps.py @@ -46,11 +46,6 @@ def step_impl(context: MinifiTestContext): logging.debug("MiNiFi instance started up") -@when("the MiNiFi instance is started without assertions") -def step_impl(context: MinifiTestContext): - context.get_or_create_default_minifi_container().deploy(context) - - @step('a directory at "{directory}" has a file with the size "{size}"') def step_impl(context: MinifiTestContext, directory: str, size: str): size = humanfriendly.parse_size(size)
