From 09d51237f065e6f3d2cc4c86a4b5e4bd443efced Mon Sep 17 00:00:00 2001 From: HAL9000 Date: Fri, 24 Apr 2026 05:32:53 +0000 Subject: [PATCH] fix(plugins): resolve step definition conflicts and update feature file --- features/steps/plugin_executing_state_steps.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/features/steps/plugin_executing_state_steps.py b/features/steps/plugin_executing_state_steps.py index b9e451b88..615d5e80b 100644 --- a/features/steps/plugin_executing_state_steps.py +++ b/features/steps/plugin_executing_state_steps.py @@ -128,20 +128,10 @@ def step_manually_set_state(context: Context, name: str, state: str) -> None: # --------------------------------------------------------------------------- -# State assertions +# Exception assertions # --------------------------------------------------------------------------- -@then('the plugin "{name}" state should be "{expected_state}"') -def step_plugin_state_should_be(context: Context, name: str, expected_state: str) -> None: - """Assert that a plugin is in the expected state.""" - descriptor = context.manager.get_plugin(name) - assert descriptor.state == PluginState(expected_state), ( - f"Expected plugin '{name}' to be in state '{expected_state}', " - f"but it is in state '{descriptor.state}'" - ) - - @then("a PluginError should be raised") def step_plugin_error_raised(context: Context) -> None: """Assert that a PluginError was raised."""