Skip to content

The agent that grows with you

test: make unreserved profile snapshots explicit in multiplex fixtures

Tekniuma72ed0a5e8d1
diff --git a/tests/gateway/test_multiplex_pairing_stores.py b/tests/gateway/test_multiplex_pairing_stores.py
index 78dc2f3e1d1..241c9d03cef 100644
--- a/tests/gateway/test_multiplex_pairing_stores.py
+++ b/tests/gateway/test_multiplex_pairing_stores.py
@@ -20,7 +20,7 @@ from gateway.run import GatewayRunner
def _bare_runner(multiplex: bool = True):
runner = object.__new__(GatewayRunner)
- runner.config = MagicMock(multiplex_profiles=multiplex)
+ runner.config = MagicMock(multiplex_profiles=multiplex, _runtime_profile_homes=None)
runner.adapters = {}
runner._profile_adapters = {}
runner.pairing_store = MagicMock()
diff --git a/tests/gateway/test_profile_resolution.py b/tests/gateway/test_profile_resolution.py
index 051a0a907e0..a965d381dcb 100644
--- a/tests/gateway/test_profile_resolution.py
+++ b/tests/gateway/test_profile_resolution.py
@@ -18,7 +18,7 @@ from gateway.platforms.event import MessageEvent
def mock_runner():
"""Create a minimal mock GatewayRunner with the methods we need."""
runner = MagicMock(spec=GatewayRunner)
- runner.config = MagicMock(profile_routes=[])
+ runner.config = MagicMock(profile_routes=[], _runtime_profile_homes=None)
# Bind the actual methods to the mock
runner._profile_name_for_source = GatewayRunner._profile_name_for_source.__get__(runner)
runner._resolve_profile_home_for_source = GatewayRunner._resolve_profile_home_for_source.__get__(runner)