To run test locally, first setup new venv and install the package:
pip install -e ".[testing]"
Run the tests:
py.test
- checkout the intergov repository
- checkout the trustbridge repo in the
intergovfolder of intergov repo - ensure that PYTHONPATH contains the libtrustrbridge code (looks like
PYTHONPATH=/src/:/src/intergov/libtrustbridge/) - start the intergov as usual
Now any changes you made in the checked out repo will be immediately applicable in your node - thanks to smart PYTHONPATH configuration.