mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-04-28 12:03:11 -07:00
Added `test_labels_refresh_between_iterations` that sequences a toggle then captures the submenu items twice, asserting the label flips between renders. Guards against a regression where `items` is hoisted out of the while-loop. Also documented why the inline `from hate_crack.menu import interactive_menu` is not actually redundant with the module-scope import at main.py:77 — it re-reads the attribute on every call, which is what lets tests patch `hate_crack.menu.interactive_menu`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.8 KiB
4.8 KiB