@@ -770,9 +770,15 @@ def test_bootstrap_launcher_preserves_conservative_fallback_without_healthy_host
770770 self .assertEqual (payload ["status" ], ACTION_REQUIRED )
771771 self .assertEqual (
772772 payload ["detail" ],
773- "DocMason cannot safely confirm that this Codex turn allows the network downloads required for repo-local runtime bootstrap." ,
773+ (
774+ "DocMason cannot safely confirm that this Codex turn allows the network "
775+ "downloads required for repo-local runtime bootstrap."
776+ ),
777+ )
778+ self .assertEqual (
779+ payload ["host_execution" ]["context_source" ],
780+ "env-codex-thread-id-fallback" ,
774781 )
775- self .assertEqual (payload ["host_execution" ]["context_source" ], "env-codex-thread-id-fallback" )
776782 self .assertIsNone (payload ["host_execution" ]["sandbox_policy" ])
777783 self .assertIsNone (payload ["host_execution" ]["permission_mode" ])
778784 self .assertFalse (payload ["host_execution" ]["full_machine_access" ])
@@ -2200,7 +2206,10 @@ def runner(command: list[str] | tuple[str, ...], cwd: Path) -> CommandExecution:
22002206 self .assertEqual (report .payload ["machine_baseline_status" ], "ready" )
22012207 official_install .assert_called_once ()
22022208 self .assertFalse (
2203- any (command == ["/opt/homebrew/bin/brew" , "install" , "--cask" , "libreoffice-still" ] for command in seen_commands )
2209+ any (
2210+ command == ["/opt/homebrew/bin/brew" , "install" , "--cask" , "libreoffice-still" ]
2211+ for command in seen_commands
2212+ )
22042213 )
22052214
22062215 def test_prepare_is_ready_without_homebrew_when_office_renderer_is_already_available (
@@ -2650,7 +2659,10 @@ def test_status_reports_detected_but_unusable_libreoffice_under_default_permissi
26502659 ):
26512660 report = status_workspace (workspace , editable_install_probe = self .missing_probe )
26522661
2653- self .assertEqual (report .payload ["environment" ]["machine_baseline_status" ], "host-access-upgrade-required" )
2662+ self .assertEqual (
2663+ report .payload ["environment" ]["machine_baseline_status" ],
2664+ "host-access-upgrade-required" ,
2665+ )
26542666 self .assertTrue (
26552667 report .payload ["environment" ]["machine_baseline" ]["libreoffice_detected_but_unusable" ]
26562668 )
0 commit comments