Skip to content
Python

test: compare gate row count to the corpus file

Rohit C Prasada9be2ccbb6af
diff --git a/tests/test_permission_gate_corpus.py b/tests/test_permission_gate_corpus.py
index d7f547d6..fd4f1db4 100644
--- a/tests/test_permission_gate_corpus.py
+++ b/tests/test_permission_gate_corpus.py
@@ -55,7 +55,7 @@ def test_every_permission_gate_row_executes_through_current_policy(monkeypatch):
monkeypatch.setattr(PermissionEngine, "evaluate", recording_evaluate)
report = run_permission_gate()
- assert report.row_count == 120
+ assert report.row_count == len(rows)
assert evaluated_tools == [row["action"]["tool"] for row in rows]
assert report.current_mismatches == ()
assert {result.actual for result in report.results} == {