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

Method test_update_empty_list

tests/objects/test_adversary.py:40–44  ·  view source on GitHub ↗
(self, adversary, ability)

Source from the content-addressed store, hash-verified

38 assert test_adversary.check_repeatable_abilities(ram['abilities'])
39
40 def test_update_empty_list(self, adversary, ability):
41 test_adversary = adversary()
42 test_adversary.atomic_ordering = [ability()]
43 test_adversary.update('atomic_ordering', [])
44 assert test_adversary.atomic_ordering == []
45
46 def test_update_boolean(self, adversary):
47 test_adversary = adversary()

Callers

nothing calls this directly

Calls 3

adversaryFunction · 0.85
abilityFunction · 0.85
updateMethod · 0.80

Tested by

no test coverage detected