Skip to content

Setup

  1. create a virtual environment
python -m venv .venv
  1. install requirements + extras
pip install -e .[dev,testing]

Testing

  1. Create new test (file name test_*.py) under /tests

  2. Run pytest in the project root dir

tox -e test
  1. To run integration test with credentials, run
tox -e test -- --wiki_domain "<domain>" --wiki_username "<login>" --wiki_password "<password>"