(test_executor, event_loop)
| 515 | |
| 516 | @pytest.fixture |
| 517 | def test_ability(test_executor, event_loop): |
| 518 | ability = AbilitySchema().load(dict(ability_id='123', |
| 519 | tactic='discovery', |
| 520 | technique_id='auto-generated', |
| 521 | technique_name='auto-generated', |
| 522 | name='Manual Command', |
| 523 | description='test ability', |
| 524 | executors=[ExecutorSchema().dump(test_executor)])) |
| 525 | event_loop.run_until_complete(BaseService.get_service('data_svc').store(ability)) |
| 526 | return ability |
| 527 | |
| 528 | |
| 529 | @pytest.fixture |
nothing calls this directly
no test coverage detected