refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -15,8 +15,9 @@ from simulation.sim_execution import ExecutionSimulation
|
||||
|
||||
def test_execution_simulation_run() -> None:
|
||||
"""
|
||||
Verifies that ExecutionSimulation handles script confirmation modals.
|
||||
Ensures that it waits for the modal and clicks the approve button.
|
||||
|
||||
Verifies that ExecutionSimulation handles script confirmation modals.
|
||||
Ensures that it waits for the modal and clicks the approve button.
|
||||
"""
|
||||
mock_client = MagicMock()
|
||||
mock_client.wait_for_server.return_value = True
|
||||
@@ -52,4 +53,4 @@ def test_execution_simulation_run() -> None:
|
||||
# Verify calls
|
||||
# ANTI-SIMPLIFICATION: Assert that the async discussion and the script approval button are triggered.
|
||||
mock_sim.run_discussion_turn_async.assert_called()
|
||||
mock_client.click.assert_called_with("btn_approve_script")
|
||||
mock_client.click.assert_called_with("btn_approve_script")
|
||||
Reference in New Issue
Block a user