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

Function ability

tests/conftest.py:181–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179
180@pytest.fixture
181def ability():
182 def _generate_ability(ability_id=None, *args, **kwargs):
183 if not ability_id:
184 ability_id = random.randint(0, 999999)
185 return Ability(*args, ability_id=ability_id, **kwargs)
186
187 return _generate_ability
188
189
190@pytest.fixture

Calls

no outgoing calls

Tested by

no test coverage detected