Skip to content

Edouard-Legoupil/ckanext-unhcr

Repository files navigation

ckanext-unhcr

Build Status Coverage Status

CKAN extension for the UNHCR RIDL project

Requirements

This extension is being developed against CKAN 2.7.x

Installation

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

Running the Tests

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