(self, ability, adversary)
| 206 | |
| 207 | class TestOperation: |
| 208 | def test_ran_ability_id(self, ability, adversary): |
| 209 | op = Operation(name='test', agents=[], adversary=adversary) |
| 210 | mock_link = MagicMock(spec=Link, ability=ability(ability_id='123'), finish=MOCK_LINK_FINISH_TIME) |
| 211 | op.chain = [mock_link] |
| 212 | assert op.ran_ability_id('123') |
| 213 | |
| 214 | def test_event_logs(self, event_loop, op_for_event_logs, operation_agent, file_svc, data_svc, event_log_op_start_time, |
| 215 | op_agent_creation_time, fire_event_mock): |
nothing calls this directly
no test coverage detected