Skip to content

A local video studio for your coding agent. Describe a video in one sentence: your agent directs, your machine renders. Claude Code, Codex, Cursor, Devin and more. No API keys, no uploads.

showtime 0.4.6: the sandboxed-frame Copy test reads Windows' clipboard line ends as \n (test-only)

Favio Vázquez97c11ee8f2d9
diff --git a/skills/showtime/tests/test_xray_live.py b/skills/showtime/tests/test_xray_live.py
index 1403637..858b2b2 100644
--- a/skills/showtime/tests/test_xray_live.py
+++ b/skills/showtime/tests/test_xray_live.py
@@ -595,7 +595,9 @@ class TestEmbed(unittest.TestCase):
self.assertIn(r["toast"], ("Copied", "Press Ctrl+C or \u2318C to copy"), (how, r["toast"]))
if how == "grant":
self.assertEqual(r["toast"], "Copied", r)
- self.assertEqual(r["clip"], r["field"]["value"], "the sandboxed frame's copy is on the clipboard")
+ # Windows' clipboard holds text with \r\n line ends; a textarea's value always has \n
+ self.assertEqual(r["clip"].replace("\r\n", "\n"), r["field"]["value"],
+ "the sandboxed frame's copy is on the clipboard")
if r["toast"] != "Copied":
self.assertTrue(r["field"]["focused"], (how, r["field"]))
self.assertEqual((r["field"]["start"], r["field"]["end"]), (0, len(r["field"]["value"])),