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:
HAL9000
2026-04-23 11:54:44 +00:00
committed by Forgejo
parent f8b65bab12
commit 078ca52c22
@@ -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"