Fixture providing a mock logger.
()
| 96 | |
| 97 | @pytest.fixture |
| 98 | def mock_logger(): |
| 99 | """Fixture providing a mock logger.""" |
| 100 | with patch('MetasploitMCP.logger') as mock_log: |
| 101 | yield mock_log |
| 102 | |
| 103 | @pytest.fixture |
| 104 | def temp_payload_dir(tmp_path): |
nothing calls this directly
no outgoing calls
no test coverage detected