MCPcopy Index your code
hub / github.com/apache/caldera / test_executor_search

Method test_executor_search

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

Source from the content-addressed store, hash-verified

83 assert list(test_ability.executors) == [test_executor_2, test_executor_3] # FIFO
84
85 def test_executor_search(self, ability, executor):
86 test_executor = executor(name='psh', platform='windows')
87 test_ability = ability(executors=[test_executor])
88
89 assert test_ability.find_executor(name='psh', platform='windows') is test_executor
90
91 def test_executor_search_duplicate(self, ability, executor):
92 test_executor = executor(name='psh', platform='windows')

Callers

nothing calls this directly

Calls 3

executorFunction · 0.85
abilityFunction · 0.85
find_executorMethod · 0.80

Tested by

no test coverage detected