| 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() |