()
| 10 | |
| 11 | @pytest.fixture |
| 12 | def new_ability_payload(): |
| 13 | test_executor_linux = Executor(name='sh', platform='linux', command='whoami') |
| 14 | return {'name': 'new test ability', |
| 15 | 'ability_id': '456', |
| 16 | 'tactic': 'collection', |
| 17 | 'technique_name': 'collection', |
| 18 | 'technique_id': '1', |
| 19 | 'executors': [ExecutorSchema().dump(test_executor_linux)], |
| 20 | 'access': {}, |
| 21 | 'additional_info': {}, |
| 22 | 'buckets': ['collection'], |
| 23 | 'description': '', |
| 24 | 'privilege': '', |
| 25 | 'repeatable': False, |
| 26 | 'requirements': [], |
| 27 | 'singleton': False, |
| 28 | 'plugin': '', |
| 29 | 'delete_payload': True, |
| 30 | } |
| 31 | |
| 32 | |
| 33 | @pytest.fixture |
nothing calls this directly
no test coverage detected