mirror of
https://github.com/GH05TCREW/MetasploitMCP.git
synced 2026-07-01 15:17:13 -04:00
4bed20d54d
- Fix test expectations for type conversion in _set_module_options (string '80' -> int 80) - Fix console destruction test by properly mocking global client instance - Update run_command_safely test to match new resilient behavior (graceful timeout vs exception) - Improve FastMCP mock to preserve actual function decorators - Fix MockMsfModule runoptions to support __setitem__ operations - All 50 unit tests now pass - Integration tests still have mocking issues but core functionality works Unit test results: 50 passed, 0 failed The timeout handling and debugging improvements are fully functional.