Skip to content

tests: make SET start/end tests independent of the real date - #8

Merged
maxhayim merged 1 commit into
mainfrom
fix/set-tests-clock
Oct 5, 2026
Merged

maxhayim merged 1 commit into
mainfrom
fix/set-tests-clock

Conversation

@maxhayim

@maxhayim maxhayim commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Fixes the red main build after v2.7.0. Six tests in tests/test_set_messages.py used the fixed 2026-10-03 SET window but read the real clock. After the SET ended, the (correct) post-SET lock refused their edits.

Test-only change: the apply fixture now pins the clock mid-SET. The full suite passes with the clock shifted to before, during, and a year after the SET.

…real date

Six tests used the fixed 2026-10-03 SET window but read the real clock; after
the SET ended they hit the (correct) post-SET lock and failed on main. Test-only
change; verified the full suite passes with the clock shifted before, during,
and a year after the SET.
@maxhayim
maxhayim merged commit a9af9ba into main Oct 5, 2026
2 checks passed
@maxhayim
maxhayim deleted the fix/set-tests-clock branch October 5, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant