mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 03:56:16 +00:00
Why: 15 tests covering all G7 findings — F13 req_mma removal confirmed, F09 DEFAULT_TIMEOUT value and inheritance, M03 TypeError for bad scope types plus regression checks for None/str/bytes, M05 dead shift removal via source inspection, M07 timeout returns Error Event not None, R03 placeholder registration before send, R05 annotation parity with EventDispatcher. Refs: Forensics report findings F13, F09, M03, M05, M07, R03, R05
MeshCore Tests
Running Tests
To run the tests, first install the development dependencies:
pip install -e ".[dev]"
Then run the tests using pytest:
# Run all tests
pytest
# Run tests with verbose output
pytest -v
# Run a specific test file
pytest tests/unit/test_commands.py
# Run a specific test
pytest tests/unit/test_commands.py::test_send_msg