Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 365 Bytes

File metadata and controls

12 lines (9 loc) · 365 Bytes

Running tests

First, remove any CACHES entry from config/settings/local.py and add PROTOCOL_LOCATIONS = 'testing/protocol'.

Then, run the tests using pytest:

pytest
pytest --reuse-db                          # keep the databases between tests
pytest --reuse-db --cov --cov-report html  # analyse coverage and create html report