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

Method test_executor_store_multiple

tests/objects/test_ability.py:61–67  ·  view source on GitHub ↗
(self, ability, executor)

Source from the content-addressed store, hash-verified

59 assert len(list(test_ability.executors)) == 1
60
61 def test_executor_store_multiple(self, ability, executor):
62 test_executor_windows = executor(name='psh', platform='windows')
63 test_executor_linux = executor(name='sh', platform='linux')
64 test_ability = ability(executors=[test_executor_windows, test_executor_linux])
65
66 assert len(list(test_ability.executors)) == 2
67 assert list(test_ability.executors) == [test_executor_windows, test_executor_linux]
68
69 def test_executor_store_duplicate(self, ability, executor):
70 test_executor_1 = executor()

Callers

nothing calls this directly

Calls 2

executorFunction · 0.85
abilityFunction · 0.85

Tested by

no test coverage detected