mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 15:43:06 +02:00
- Screen locker: disable VT switching (Ctrl+Alt+Fn) via setxkbmap srvrkeys:none on startup; restore on close (production mode only). Gracefully skips if setxkbmap is not installed (shutil.which). Tests: 7 new tests, 100% branch coverage maintained. - Midnight shutdown: restore real schedule values (Mon-Wed 21:00, Thu-Sun 22:00, morning end 05:00); re-enable the three commented-out leniency checks in check_schedule_protection(); self-lock script with chattr +i at end of enable_midnight_shutdown(). - Hosts install: add UNBLOCK_STATE_FILE tracking for whitelisted domains; check_unblock_entries_protection() blocks installation if the unblock list grows; save state after install; self-lock install.sh and generate_hosts_file.sh with chattr +i. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_adb_and_phone.py | ||
| test_early_bird.py | ||
| test_init_and_log.py | ||
| test_log_integrity.py | ||
| test_phone_check_unlock.py | ||
| test_phone_verification_part2.py | ||
| test_shutdown_part2.py | ||
| test_shutdown_part3.py | ||
| test_sick_features.py | ||
| test_sick_tracker.py | ||
| test_time_check.py | ||
| test_ui_and_timers_part2.py | ||
| test_ui_and_timers.py | ||
| test_ui_flows_part2.py | ||
| test_verify_workout.py | ||
| test_vt_switching.py | ||
| test_wake_shutdown.py | ||
| test_wake_skip.py | ||