This adds django-pytest, factory-boy and registers the models as factories.
It has not been possible fully to implement tests relating to models because the factories depend on the Organisation model which has not been included yet, pending decision on how to include in NPDA.
Changes
add tests folder and __init__.py
add conftest.py, pytest.ini, a factories folder with one for each model.
10 new tests as a concept testing stringify_time_elapsed.py
Overview
This adds django-pytest, factory-boy and registers the models as factories.
It has not been possible fully to implement tests relating to models because the factories depend on the Organisation model which has not been included yet, pending decision on how to include in NPDA.
Changes
__init__.py
conftest.py
,pytest.ini
, a factories folder with one for each model.stringify_time_elapsed.py
Issues
closes #22