Skip to content

The agent that grows with you

test(anon): pin the float-dust now as the literal the docstring quotes

kshitijk4poor09828fbcfc12
diff --git a/tests/hermes_cli/test_anon_failure_modes.py b/tests/hermes_cli/test_anon_failure_modes.py
index 2cdab8fec01..7afdc4a70e3 100644
--- a/tests/hermes_cli/test_anon_failure_modes.py
+++ b/tests/hermes_cli/test_anon_failure_modes.py
@@ -344,7 +344,7 @@ def test_friendly_wait_never_prints_raw_seconds(seconds, expected):
def test_retry_after_is_the_whole_wait_not_the_wait_plus_float_dust(monkeypatch):
"""``(now + 60) - now`` is 60.000000000000455 for this ``now``; the payload must still say 60."""
- now = 4064.78551427515 + 16.0
+ now = 4080.78551427515
monkeypatch.setattr(anon_auth.time, "monotonic", lambda: now)
failure = anon_auth.MintFailure(code=anon_auth.ANON_SERVER_ERROR, message="x", retryable=True,
retry_after=60.0, not_before=now + 60.0)