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

Function updated_ability_payload

tests/api/v2/handlers/test_abilities_api.py:34–37  ·  view source on GitHub ↗
(test_ability)

Source from the content-addressed store, hash-verified

32
33@pytest.fixture
34def updated_ability_payload(test_ability):
35 ability_data = test_ability.schema.dump(test_ability)
36 ability_data.update(dict(name='an updated test ability', tactic='defense-evasion', plugin=''))
37 return ability_data
38
39
40@pytest.fixture

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected