fix(tests): resolve AmbiguousStep collisions in pyyaml_security tests

Three step patterns in pyyaml_security_steps.py clashed with existing
step files, causing all Behave features to error at load time:
- "I call load_yaml_text with YAML text" clashed with actor_config_coverage_boost_steps.py:103
- "the load_yaml_text result should have key" clashed with actor_config_coverage_boost_steps.py:90
- "a ValueError should be raised" clashed with lsp_registry_steps.py:475

Rename all three to unique patterns and update pyyaml_security.feature
to match. Also fix typings/behave/runner.pyi ruff format (.pyi convention:
single blank line before class, no blank lines between stub methods) and
add missing fastapi>=0.100.0 to pyproject.toml (asgi_app.py imports
fastapi but it was absent from declared dependencies, causing typecheck
and integration test failures).

Refs: #9055
This commit is contained in:
2026-06-14 13:18:40 -04:00
committed by Forgejo
parent 462e68d61c
commit 021d09991a
4 changed files with 8 additions and 8 deletions
-1
View File
@@ -2,7 +2,6 @@
from typing import Any
class Context:
"""Behave scenario context object."""