MCPcopy Create free account
hub / github.com/GH05TCREW/MetasploitMCP / mock_logger

Function mock_logger

conftest.py:98–101  ·  view source on GitHub ↗

Fixture providing a mock logger.

()

Source from the content-addressed store, hash-verified

96
97@pytest.fixture
98def mock_logger():
99 """Fixture providing a mock logger."""
100 with patch('MetasploitMCP.logger') as mock_log:
101 yield mock_log
102
103@pytest.fixture
104def temp_payload_dir(tmp_path):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected