mirror of
https://github.com/hanzoai/mcp-remote-macos-use.git
synced 2026-10-30 18:28:08 +00:00
- Refactored package structure from mcp_remote_macos_use to mcp_remote_macos - Updated Docker configuration to use uv package manager per Hanzo standards - Fixed CI/CD workflows for multi-platform Docker image publishing - Added compose.yml for easier deployment - Added .env.example for configuration reference - All tests passing (32/32) - Ready for Docker Hub publishing with hanzoai/mcp-remote-macos:latest
Tests for MCP Remote macOS Use
This directory contains unit tests for the MCP Remote macOS Use package.
Running Tests
To run the tests, you'll need to install the package with development dependencies:
pip install -e ".[dev]"
Or using UV (recommended):
uv pip install -e ".[dev]"
Then run the tests using pytest:
pytest
Test Structure
test_vnc_client.py: Tests for the VNC client moduletest_action_handlers.py: Tests for the action handlers moduletest_server.py: Tests for the server moduletest_init.py: Tests for the package initialization
Environment Variables
The tests use mock environment variables for testing. In a real environment, you'll need to set these variables:
MACOS_HOST: Hostname or IP address of the macOS machineMACOS_PORT: Port for VNC connection (default: 5900)MACOS_USERNAME: Username for macOS authentication (optional)MACOS_PASSWORD: Password for macOS authentication (required)VNC_ENCRYPTION: Encryption preference (default: "prefer_on")