diff --git a/tests/test_apply.py b/tests/test_apply.py index 804654c..a7e5f78 100644 --- a/tests/test_apply.py +++ b/tests/test_apply.py @@ -116,7 +116,7 @@ class TestRebase(unittest.TestCase): merged, changes = ap.rebase(draft, live, base) self.assertEqual(merged["debounce_seconds"], 7) # the live change survives 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.assertEqual(merged["hosts"]["lighting"]["notes"], "mine") self.assertEqual(len(changes), 3)