CodeForAfrica / HealthTools.API

HealthTools API to retrieve, structure and return data being used by the health tools. Accessible at https://api.healthtools.codeforafrica.org/
https://api.healthtools.codeforafrica.org/
MIT License
19 stars 20 forks source link

Update test scripts #73

Open andela-ookoro opened 6 years ago

andela-ookoro commented 6 years ago

Description

Currently, the test runner cannot run any test case, it reports that there is no test (which is false). After including the test files in the init file of the test module, some tests are failing due to changes in the implementation of some features, such as the returned value when a document was not found.

Screenshots

Nosetests report that no test was found

notest

Some test failing

testfails

Files

The concerned files reside in the healthtools/tests folder

To Reproduce

Run the tests, some would fail