CKAN extension for the UNHCR RIDL project
This extension is being developed against CKAN 2.7.x
To install ckanext-unhcr for development, activate your CKAN virtualenv and do::
git clone https://github.com/okfn/ckanext-unhcr.git
cd ckanext-unhcr
python setup.py develop
pip install -r requirements.txt
To run the tests, do::
nosetests --nologcapture --with-pylons=test.ini
To run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (pip install coverage
) then run::
nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.unhcr --cover-inclusive --cover-erase --cover-tests