MCPcopy
hub / github.com/apache/caldera / _generate_rule

Function _generate_rule

tests/conftest.py:240–241  ·  view source on GitHub ↗
(action, trait, *args, **kwargs)

Source from the content-addressed store, hash-verified

238@pytest.fixture
239def rule():
240 def _generate_rule(action, trait, *args, **kwargs):
241 return Rule(*args, action=action, trait=trait, **kwargs)
242
243 return _generate_rule
244

Callers

nothing calls this directly

Calls 1

RuleClass · 0.90

Tested by

no test coverage detected