testsAndMisc/python_pkg/steam_backlog_enforcer/tests
Krzysztof kuhy Rudnicki cec80c0cb0 feat(steam_backlog_enforcer): harden whitelist against circumvention
- Remove skip_app_ids from user-editable Config; callers updated
- Split PROTECTED_APP_IDS: only Steam infra/Proton IDs remain; game
  IDs moved to a new time-locked exception system
- Add _whitelist.py: 24-hour cooldown on new exceptions, entropy-
  checked justification (>= 5 words), append-only audit log,
  chattr +i immutability on enforcement-critical config files
- Add is_protected_app() in game_install.py; used everywhere
  instead of direct PROTECTED_APP_IDS membership checks
- Add 'add-exception' CLI command (cmd_add_exception in main.py)
- Call promote_pending_exceptions() and lock_enforcement_files()
  in each _enforce_loop_iteration
- 590 tests, 100% branch coverage on all steam_backlog_enforcer modules
- Add .worktrees to .gitignore
2026-05-17 20:44:05 +02:00
..
__init__.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00
conftest.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_cmd_done.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_config.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_enforce_loop.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_enforcer.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_game_install_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_game_install.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_hltb_detail.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_hltb_part2.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_hltb_part3.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00
test_hltb_search.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_hltb.py chore: optimize pre-commit, remove tracked binaries, fix lint issues 2026-04-10 18:48:37 +02:00
test_library_hider_part2.py chore: optimize pre-commit, remove tracked binaries, fix lint issues 2026-04-10 18:48:37 +02:00
test_library_hider.py chore: optimize pre-commit, remove tracked binaries, fix lint issues 2026-04-10 18:48:37 +02:00
test_main_part2.py steam_backlog_enforcer: retry install after library hide restart 2026-05-08 14:56:46 +02:00
test_main.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_polls_tracking.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_protondb.py fix: sync test paths, drop stale assertions, fix coverage gap 2026-05-16 15:46:02 +02:00
test_scanning_part2.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00
test_scanning.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_steam_api.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00
test_store_blocker_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_store_blocker.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_whitelist.py feat(steam_backlog_enforcer): harden whitelist against circumvention 2026-05-17 20:44:05 +02:00