feat: json exports/imports

This commit is contained in:
fufsob committed 2026-09-15 04:53:39 +00:00
1 parent d7108abf0c
commit aa19042ee5
18 files changed
+778 -42

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class ModelTest(unittest.TestCase):
rows, summary = model.load_tab(tab, {})
self.assertEqual([(r["tag"], r["mark"]) for r in rows], [("a", "▸"), ("b", "★")])
self.assertIn("Pinned: b", summary)
self.assertEqual([a.key for a in model.applicable(tab, rows[1])], ["u", "t", "T", "n"])
self.assertEqual([a.key for a in model.applicable(tab, rows[1])], ["u", "t", "T", "n", "l", "c", "Q", "J", "F", "X"])
broken = model.Tab("x", "X", model.ROW, [], lambda _: ctl.die("backend gone"))
self.assertEqual(model.load_tab(broken, {}), ([], "✗ backend gone"))