test(cli): tolerate wrapped launcher output

This commit is contained in:
Xubin Ren
2026-08-17 20:56:10 +08:00
parent 6c987fc21d
commit 55f0423336
+4 -3
View File
@@ -2584,9 +2584,10 @@ def test_attach_to_background_gateway_detaches_on_ctrl_c(capsys) -> None:
assert stopped is False
output = capsys.readouterr().out
assert "Closing the browser does not stop channels or automations" in output
assert "gateway stops only when the last local client exits" in output
assert "WebUI launcher detached" in output
rendered = " ".join(output.split())
assert "Closing the browser does not stop channels or automations" in rendered
assert "gateway stops only when the last local client exits" in rendered
assert "WebUI launcher detached" in rendered
def test_attach_to_background_gateway_checks_owned_sidecar() -> None: