mirror of
https://github.com/kharonsec/br-acc
synced 2026-04-27 01:55:29 +02:00
test(api): skip institutional query assertion in open-core
This commit is contained in:
@@ -199,7 +199,10 @@ def test_investigation_where_has_all_id_fields(query_name: str) -> None:
|
||||
|
||||
def test_self_dealing_uses_value_committed_or_value_paid() -> None:
|
||||
"""pattern_self_dealing.cypher must read value_committed/value_paid with a.value fallback."""
|
||||
cypher = _load_cypher("pattern_self_dealing")
|
||||
try:
|
||||
cypher = _load_cypher("pattern_self_dealing")
|
||||
except FileNotFoundError:
|
||||
pytest.skip("pattern_self_dealing.cypher not shipped in public edition snapshot")
|
||||
# Must use coalesce with both TransfereGov fields AND Transparencia fallback
|
||||
assert "a.value_committed" in cypher, (
|
||||
"pattern_self_dealing.cypher missing a.value_committed (TransfereGov)"
|
||||
|
||||
Reference in New Issue
Block a user