Justin Bollinger
ce625a7874
fix(tests): patch hate_crack.main._notify directly
...
tests/test_random_rules_attack.py purges and re-imports hate_crack.*
modules, which leaves main._notify pointing at a different notify
object than a top-level patch("hate_crack.notify._send_pushover")
would touch. Under the full suite that caused the test's mock to
miss and the production call to hit the real Pushover API.
Switch to patch.object(hc_main, "_notify") -- same pattern as
tests/test_run_hcat_cmd.py but anchored to the exact module object
already bound as hc_main, so it is immune to sys.modules churn
regardless of import order. Drop the now-redundant _install_settings
helper and _reset_notify_state fixture.
2026-04-22 18:07:52 -04:00
..
2026-01-26 13:32:37 -05:00
2026-04-22 17:27:15 -04:00
2026-01-26 13:32:37 -05:00
2026-03-18 19:01:51 -04:00
2026-03-19 19:13:41 -04:00
2026-02-05 13:52:06 -05:00
2026-02-20 16:19:07 -05:00
2026-03-19 14:18:25 -04:00
2026-03-16 14:23:09 -04:00
2026-03-19 19:13:41 -04:00
2026-02-06 09:39:07 -05:00
2026-02-05 13:52:06 -05:00
2026-03-19 14:18:25 -04:00
2026-03-19 12:16:04 -04:00
2026-03-19 15:50:25 -04:00
2026-02-05 13:52:06 -05:00
2026-02-05 13:52:06 -05:00
2026-03-17 12:45:19 -04:00
2026-04-08 13:07:33 -04:00
2026-04-13 10:10:01 -04:00
2026-03-19 12:20:37 -04:00
2026-03-02 17:16:54 -05:00
2026-02-05 13:52:06 -05:00
2026-02-13 19:11:51 -05:00
2026-02-13 19:11:51 -05:00
2026-04-08 13:02:26 -04:00
2026-02-05 13:52:06 -05:00
2026-02-12 20:23:12 -05:00
2026-03-16 11:50:32 -04:00
2026-04-08 13:02:26 -04:00
2026-03-19 23:42:43 -04:00
2026-03-16 13:08:59 -04:00
2026-03-19 14:35:29 -04:00
2026-04-22 14:41:38 -04:00
2026-04-22 14:41:38 -04:00
2026-04-22 14:41:38 -04:00
2026-04-22 14:41:38 -04:00
2026-04-22 14:41:38 -04:00
2026-02-17 12:53:20 -05:00
2026-02-17 13:23:36 -05:00
2026-03-18 18:17:41 -04:00
2026-03-19 21:37:58 -04:00
2026-03-19 12:14:05 -04:00
2026-03-19 12:14:05 -04:00
2026-03-19 23:42:43 -04:00
2026-02-05 13:52:06 -05:00
2026-03-02 17:16:54 -05:00
2026-02-13 22:25:48 -05:00
2026-03-19 23:40:24 -04:00
2026-03-19 12:13:38 -04:00
2026-03-19 20:23:28 -04:00
2026-03-19 12:12:12 -04:00
2026-03-19 12:12:12 -04:00
2026-04-22 15:16:12 -04:00
2026-02-05 13:52:06 -05:00
2026-04-22 15:16:12 -04:00
2026-04-22 18:07:52 -04:00
2026-02-05 13:52:06 -05:00
2026-03-19 23:42:43 -04:00
2026-04-08 11:43:51 -04:00
2026-02-05 13:52:06 -05:00
2026-03-19 18:05:00 -04:00
2026-03-19 20:23:28 -04:00
2026-03-20 10:30:08 -04:00
feat: add wordlist tools submenu (len, req-include, req-exclude, cutb, rli, rli2, splitlen, gate) ( #90 , #91 , #92 , #94 )
2026-03-19 12:15:43 -04:00