(test_executor, event_loop)
| 85 | |
| 86 | @pytest.fixture |
| 87 | def deploy_ability(test_executor, event_loop): |
| 88 | ability = AbilitySchema().load(dict(ability_id='123', |
| 89 | tactic='persistence', |
| 90 | technique_id='auto-generated', |
| 91 | technique_name='auto-generated', |
| 92 | name='test deploy command', |
| 93 | description='test ability', |
| 94 | executors=[ExecutorSchema().dump(test_executor)])) |
| 95 | event_loop.run_until_complete(BaseService.get_service('data_svc').store(ability)) |
| 96 | return ability |
| 97 | |
| 98 | |
| 99 | @pytest.fixture |
nothing calls this directly
no test coverage detected