Prechádzať zdrojové kódy

test: align handoff README expectations with Linux python -B entry

Docs lane made Linux package_for_agent_analysis.py the authority; keep -I -S -B on the legacy PS1 wrapper only.

Co-authored-by: Cursor <cursoragent@cursor.com>
root 3 mesiacov pred
rodič
commit
d9c614f5c2
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      tests/unit/test_agent_handoff_package.py

+ 2 - 1
tests/unit/test_agent_handoff_package.py

@@ -1571,7 +1571,8 @@ class AgentHandoffPackageTests(unittest.TestCase):
         readme = (ROOT / "docs/agent-handoff-packaging.zh-CN.md").read_text(encoding="utf-8-sig")
         readme = (ROOT / "docs/agent-handoff-packaging.zh-CN.md").read_text(encoding="utf-8-sig")
         self.assertIn("3.11", wrapper)
         self.assertIn("3.11", wrapper)
         self.assertIn("3.11", readme)
         self.assertIn("3.11", readme)
-        self.assertIn("-I -S -B", readme)
+        # Linux authority entry is python -B; isolation flags remain on the PS1 wrapper.
+        self.assertIn("python -B package_for_agent_analysis.py", readme)
         self.assertIn("GetFinalPathNameByHandle", wrapper)
         self.assertIn("GetFinalPathNameByHandle", wrapper)
         self.assertNotIn(".codex\\venv\\Scripts\\python.exe", wrapper)
         self.assertNotIn(".codex\\venv\\Scripts\\python.exe", wrapper)
         for flag in ("-I", "-S", "-B"):
         for flag in ("-I", "-S", "-B"):