style(tests): fix ruff format violation in TDD step file
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 30s
CI / helm (pull_request) Successful in 48s
CI / build (pull_request) Successful in 51s
CI / lint (pull_request) Successful in 1m5s
CI / quality (pull_request) Successful in 1m4s
CI / typecheck (pull_request) Successful in 1m22s
CI / security (pull_request) Successful in 1m26s
CI / e2e_tests (pull_request) Successful in 4m5s
CI / integration_tests (pull_request) Successful in 4m21s
CI / unit_tests (pull_request) Successful in 4m37s
CI / docker (pull_request) Successful in 1m47s
CI / coverage (pull_request) Successful in 18m18s
CI / status-check (pull_request) Successful in 3s
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 30s
CI / helm (pull_request) Successful in 48s
CI / build (pull_request) Successful in 51s
CI / lint (pull_request) Successful in 1m5s
CI / quality (pull_request) Successful in 1m4s
CI / typecheck (pull_request) Successful in 1m22s
CI / security (pull_request) Successful in 1m26s
CI / e2e_tests (pull_request) Successful in 4m5s
CI / integration_tests (pull_request) Successful in 4m21s
CI / unit_tests (pull_request) Successful in 4m37s
CI / docker (pull_request) Successful in 1m47s
CI / coverage (pull_request) Successful in 18m18s
CI / status-check (pull_request) Successful in 3s
Collapse multi-line @then decorator onto a single line in tdd_session_create_suppress_exception_steps.py to satisfy ruff format --check (the CI lint job runs both ruff check and ruff format --check).
This commit is contained in:
@@ -114,9 +114,7 @@ class _CapturingHandler(logging.Handler):
|
||||
self.records.append(record)
|
||||
|
||||
|
||||
@then(
|
||||
"a WARNING log entry should have been emitted for the facade dispatch failure"
|
||||
)
|
||||
@then("a WARNING log entry should have been emitted for the facade dispatch failure")
|
||||
def step_then_warning_logged(context: Context) -> None:
|
||||
"""Assert that a WARNING log entry was emitted when the facade dispatch raised.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user