Skip to content

Fix strategy_registry sys.modules pollution in tests - #151

Merged
Pigbibi merged 1 commit into
mainfrom
fix/runtime-policy-test-registry-isolation
Jun 27, 2026
Merged

Fix strategy_registry sys.modules pollution in tests#151
Pigbibi merged 1 commit into
mainfrom
fix/runtime-policy-test-registry-isolation

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

test_runtime_execution_policy injected a fake strategy_registry at import time, breaking test_strategy_registry collection. Scope the mock to a pytest fixture instead.

Made with Cursor

…llution.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi merged commit ee7fae6 into main Jun 27, 2026
1 check failed
@Pigbibi
Pigbibi deleted the fix/runtime-policy-test-registry-isolation branch June 27, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant