Files
HAL9000 bd955696f9 fix(pr-7811 review): resolve remaining CI and code style blockers
Address all 4 remaining blocking issues from PR #7811 review:

- Delete duplicate _validation_pipeline_mock.py in features/steps/
  (the inline MockValidationExecutor is kept where it belongs)
- Replace # type: ignore[return-value] with cast(dict[str, Any], ...)
  to satisfy the zero-type-suppressions policy for test additions
- Add @tdd_issue_7623 regression tag on concurrency scenario
- Remove unreachable dead-code RuntimeError guard in
  _install_thread_local_streams() (constructors never return None)

All CI lint checks now pass. Source files remain within line limits.
2026-06-02 04:29:20 -04:00

32 lines
1.1 KiB
Python

"""Mock implementations for testing.
This package contains mock implementations used only during testing.
Following the mock placement rule, all mocks must exist only in the
features/ directory and never in production code (implementation_plan.md).
"""
from .fake_provider import FakeProviderInfo, FakeProviderRegistry
from .lsp_transport_mock import MockLspTransport, parse_lsp_responses
from .mock_ai_provider import MockAIProvider
from .mock_mcp_transport import MockMCPTransport
from .recording_event_bus import RecordingEventBus
from .transient_fail_audit_service import TransientFailAuditService
from .validation_pipeline_mock import MockValidationExecutor
# NOTE: tdd_test_helpers is NOT re-exported here because it imports
# ``behave.model.Status`` which is unavailable in ASV benchmark
# environments. Import directly: ``from features.mocks.tdd_test_helpers
# import make_mock_scenario``
__all__ = [
"FakeProviderInfo",
"FakeProviderRegistry",
"MockAIProvider",
"MockLspTransport",
"MockMCPTransport",
"MockValidationExecutor",
"RecordingEventBus",
"TransientFailAuditService",
"parse_lsp_responses",
]