Skip to content

Real-time network monitor + outbound firewall — see & block every connection. Privacy-first, local-first, Rust fleet agent, SIEM exports, 8 languages. / Moniteur réseau temps réel + pare-feu sortant, agent de flotte Rust, exports SIEM. 100 % local.

Fix index in askmode rollback test

MoneyLisa5cfe3e66c68a
diff --git a/backend/tests/test_enterprise.py b/backend/tests/test_enterprise.py
index a2cc7b2..cd7e21e 100644
--- a/backend/tests/test_enterprise.py
+++ b/backend/tests/test_enterprise.py
@@ -229,8 +229,8 @@ def test_askmode_rollback_mirrors_inserts(monkeypatch):
["iptables", "-w", "-I", "OUTPUT", "-j", "NFQUEUE",
"--queue-num", "7"],
])
- assert calls[0][3] == "-D" and "NFQUEUE" in calls[0] # EN: jump first / FR: saut d'abord
- assert calls[1][3] == "-D" and "lo" in calls[1]
+ assert calls[0][2] == "-D" and "NFQUEUE" in calls[0] # EN: jump first / FR: saut d'abord
+ assert calls[1][2] == "-D" and "lo" in calls[1]
assert all("-I" not in c for c in calls)