pytest plugin to write integration tests for projects using Mercurial Python internals
Mercurial Test Helpers
This is a collection of facilities to help writing integraton tests for Python code with dependencies on Mercurial.
See the Integration Tests Plan wiki page for more details.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.