diff --git a/features/steps/resource_type_inheritance_cycle_detection_steps.py b/features/steps/resource_type_inheritance_cycle_detection_steps.py index 66ad6cd96..8c303e71b 100644 --- a/features/steps/resource_type_inheritance_cycle_detection_steps.py +++ b/features/steps/resource_type_inheritance_cycle_detection_steps.py @@ -92,9 +92,7 @@ def step_creation_failed(context: Any, fragment: str) -> None: @then('the creation should fail with "{fragment1}" or "{fragment2}"') -def step_creation_failed_either( - context: Any, fragment1: str, fragment2: str -) -> None: +def step_creation_failed_either(context: Any, fragment1: str, fragment2: str) -> None: """Assert that creation failed with an error containing either fragment.""" err = context.creation_error # type: ignore[attr-defined] assert err is not None, "Expected creation to fail but it succeeded"