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

Method __init__

tests/test_tools_integration.py:75–80  ·  view source on GitHub ↗
(self, fullname)

Source from the content-addressed store, hash-verified

73
74class MockMsfModule:
75 def __init__(self, fullname):
76 self.fullname = fullname
77 self.options = {}
78 # Create a proper mock for runoptions that supports __setitem__
79 self.runoptions = {}
80 self.missing_required = []
81
82 def __setitem__(self, key, value):
83 self.options[key] = value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected