wake-alarm/wake_alarm/tests
Krzysztof kuhy Rudnicki 16f9ddeb13 Keep the test suite's JSONL log out of the live events.jsonl
_logging_setup attaches its JSONL sink the first time an entry point's
main() runs, and the conftest never redirected LOG_JSONL_FILE or
LOG_DEDUPE_FILE. Every suite run appended ~25 fixture warnings ("Synced
alarm out of range: 24:0") to ~/.local/state/wake_alarm/events.jsonl, the
log a failed wake-up is reconstructed from. Patch _logging_setup's names
(it imported them by value) in the autouse _hermetic fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0188kZdx3bb56QM8JFUnbHuM
2026-09-26 17:44:52 +02:00
..
__init__.py Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
conftest.py Keep the test suite's JSONL log out of the live events.jsonl 2026-09-26 17:44:52 +02:00
test_alarm_payload.py Stop trusting an alarm the phone published months ago 2026-08-30 16:37:13 +02:00
test_energy.py Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
test_log_dedupe.py Phase 1: structured JSONL logging with cross-process dedupe 2026-08-26 23:00:08 +02:00
test_log_sink.py Phase 1: structured JSONL logging with cross-process dedupe 2026-08-26 23:00:08 +02:00
test_logging_setup.py Phase 1: structured JSONL logging with cross-process dedupe 2026-08-26 23:00:08 +02:00
test_ramp.py Cook the frog: lower the wake baseline a minute a day from 08:00 to 07:00 2026-09-25 13:15:44 +02:00
test_session_payload.py Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
test_session_policy.py Open the PC from 05:00 until the alarm has been dismissed; the session is the check 2026-09-20 08:39:24 +02:00
test_session.py Cook the frog: lower the wake baseline a minute a day from 08:00 to 07:00 2026-09-25 13:15:44 +02:00
test_state_queries.py Retire the PC's waking role; keep the trigger 2026-08-30 15:24:02 +02:00
test_state.py Retire the PC's waking role; keep the trigger 2026-08-30 15:24:02 +02:00
test_sync_backends.py Stop trusting an alarm the phone published months ago 2026-08-30 16:37:13 +02:00
test_sync_cli.py Split _sync.py along the transport/resolution seam item 8 needs 2026-08-27 23:44:24 +02:00
test_sync_dispatch.py Stop trusting an alarm the phone published months ago 2026-08-30 16:37:13 +02:00
test_sync_lapsed.py Cook the frog: lower the wake baseline a minute a day from 08:00 to 07:00 2026-09-25 13:15:44 +02:00
test_sync_token.py Split _sync.py along the transport/resolution seam item 8 needs 2026-08-27 23:44:24 +02:00
test_sync.py Cook the frog: lower the wake baseline a minute a day from 08:00 to 07:00 2026-09-25 13:15:44 +02:00
test_trigger_clamp.py Cook the frog: lower the wake baseline a minute a day from 08:00 to 07:00 2026-09-25 13:15:44 +02:00
test_trigger_main.py Retire the PC's waking role; keep the trigger 2026-08-30 15:24:02 +02:00
test_trigger.py Do not ring at all on a shared free day 2026-09-07 15:28:54 +02:00
test_weight.py Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
test_workday_penalty.py Add the Tue/Wed/Thu workday stick: signal focus-owner and write tomorrow's penalty 2026-09-23 21:20:58 +02:00