MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / not_fires

Function not_fires

tests/unit/test_a_sink_rules.py:32–32  ·  view source on GitHub ↗
(code, rule_id)

Source from the content-addressed store, hash-verified

30
31def fires(code, rule_id): return [f for f in run(code) if f["rule_id"] == rule_id]
32def not_fires(code, rule_id): return not fires(code, rule_id)
33
34
35# --- HASATTR837 ---

Calls 1

firesFunction · 0.70

Tested by

no test coverage detected