Rebase test counts windows relative to the campus config
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user