GitHub Issues Bot scans issues of selected repository and tags those issues.
Don't forget to fill auth.conf configuration file.
Run:
python setup.py test
or
pytest -v tests/test_app.py
If you have filled auth.conf with right values, you can use online testing. With real HTTP requests. Old cassettes will be rewrited. Eg:
AUTH_FILE=issuelabeler/auth.conf pytest -v tests/test_app.py
If you dont specify enviroment variable AUTH_FILE, test will use recorded betamax cassettes.
Create virtual enviroment with:
python3 -m venv env
Activate virtual enviroment:
. env/bin/activate
Change your working directory to docs:
cd docs/
Install dependencies:
python -m pip install -r requirements.txt
To build documentation in HTML format, run following command:
make html
This will create documentantion in HTML format in _build/html. You can start reading documentation by opening _build/html/index.html in your browser.
To run doctests run command:
make doctest