style: apply ruff format to resource_type_inheritance_cycle_detection_steps.py
Collapse two-line function signature to single line to satisfy ruff format check.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user