Rebase test counts windows relative to the campus config

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 19:46:06 -04:00
co-authored by Claude Fable 5.1
parent 5caa8a3816
commit 9dbf7cf36e
+1 -1
View File
@@ -116,7 +116,7 @@ class TestRebase(unittest.TestCase):
merged, changes = ap.rebase(draft, live, base) merged, changes = ap.rebase(draft, live, base)
self.assertEqual(merged["debounce_seconds"], 7) # the live change survives self.assertEqual(merged["debounce_seconds"], 7) # the live change survives
self.assertEqual(merged["fixes"]["vista"]["label"], "start Vista (new words)") self.assertEqual(merged["fixes"]["vista"]["label"], "start Vista (new words)")
self.assertEqual(len(merged["auto_fix"]["windows"]), 2) # and the draft's own self.assertEqual(len(merged["auto_fix"]["windows"]), len(base["auto_fix"]["windows"]) + 1) # and the draft's own
self.assertFalse(next(t for t in merged["tiles"] if t["id"] == "hd2")["checks"][0]["optional"]) self.assertFalse(next(t for t in merged["tiles"] if t["id"] == "hd2")["checks"][0]["optional"])
self.assertEqual(merged["hosts"]["lighting"]["notes"], "mine") self.assertEqual(merged["hosts"]["lighting"]["notes"], "mine")
self.assertEqual(len(changes), 3) self.assertEqual(len(changes), 3)