geonode-exchange is a django project built on GeoNode.
Steps to run tests locally:
pip install pytest-cov
export DJANGO_SETTINGS_MODULE='exchange.settings'
export PYTEST=1
python manage.py migrate
python manage.py collectstatic --noinput
py.test --ignore=tests/ \
--cov-report html:cov_html \
--cov=exchange exchange/tests/