MIL-009 task 9: fix a flaky unit test that created a real Tk root #66

Merged
Tirsvad merged 3 commits from fix-flaky-unit-test into main 2026-10-14 18:44:11 +02:00
3 Commits
Author SHA1 Message Date
Tirsvad fc9c5ea3c1 Fix a flaky unit test that created a real Tk root
test_main_returns_one_when_word_list_is_missing_with_level called
app.main without a fake root, so a real tk.Tk() was created in a unit
test and failed about 1 in 6 full runs. An autouse fixture now patches
app.tk.Tk with the module's fake root. Review record RC-049 (Go).

Task: MIL-009#9
2026-10-15 00:43:54 +08:00
Tirsvad f311e71bde Resolve pending commit links of the MIL-009 amendment 2026-10-15 00:43:15 +08:00
Tirsvad 061b4f48b5 MIL-009: add task 9, fix a flaky unit test (plan and review)
Task row 9 added to MIL-009 after the merge; review records RC-049
(the fix) and RC-050 (MIL-009 re-review), both Go.
2026-10-15 00:43:13 +08:00