Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

fix: make all ASREPRoast tests hermetic

Mafifrizib7e1d16f301f
diff --git a/tests/unit/test_ad_bind_behavior.py b/tests/unit/test_ad_bind_behavior.py
index 0960f41..af9068c 100644
--- a/tests/unit/test_ad_bind_behavior.py
+++ b/tests/unit/test_ad_bind_behavior.py
@@ -802,6 +802,7 @@ async def test_asreproast_parse_failure_is_candidate_aware(monkeypatch):
import ares.modules.ad.asreproast as asreproast_mod
from ares.modules.ad.asreproast import ASREPRoastModule, ASREPParseError
+ _install_fake_kerberos(monkeypatch)
monkeypatch.setattr(asreproast_mod, "ensure_ad_dependencies", lambda *args, **kwargs: None)
module, _ = _make_module(ASREPRoastModule)