| 68 | self.jobs.list.return_value = {} |
| 69 | |
| 70 | class MockMsfConsole: |
| 71 | def __init__(self, cid='test-console'): |
| 72 | self.cid = cid |
| 73 | |
| 74 | def read(self): |
| 75 | return {'data': '', 'prompt': 'msf6 > ', 'busy': False} |
| 76 | |
| 77 | def write(self, command): |
| 78 | return True |
| 79 | |
| 80 | class MockMsfRpcError(Exception): |
| 81 | pass |
nothing calls this directly
no outgoing calls
no test coverage detected