diff --git a/scripts/test-settlement-anvil.py b/scripts/test-settlement-anvil.py index 61b4ed4..b4c7eca 100644 --- a/scripts/test-settlement-anvil.py +++ b/scripts/test-settlement-anvil.py @@ -245,7 +245,9 @@ def test_review_deadline_refuses_accept_and_leaves_dispute_path(self) -> None: def test_dispute_fallback_refuses_inside_window_and_refunds_after(self) -> None: self._deliver() self._send_ok(KEYS["contributor"], "openDispute(string)", "evidence unclear") - self._jump_to(self.AGREEMENT_DATA["dispute_deadline"]) + # a real chain never guarantees an exact block time, so assert clearly + # inside the window; the exact-boundary case lives in the model tests + self._jump_to(self.AGREEMENT_DATA["dispute_deadline"] - 60) self._send_reverts(KEYS["contributor"], "applyDisputeFallback()", naming="DisputeWindowStillOpen") # window still open self._jump_to(self.AGREEMENT_DATA["dispute_deadline"] + 1)