Unit tests scripts for testing the functionality of the application. All methods should be tested and tests coverage should be 100% 馃憤
[x] Test all routes - (in case you see a route which is not tested, just write a patch for it)
[] Test all UD methods.
**Unit test report**
Generate this using the command `pytest -v tests/` in the root directory of the project.
Report on 4th Oct, 2018
```
========================================= test session starts ==============================================
platform darwin -- Python 3.7.0, pytest-3.8.2, py-1.6.0, pluggy-0.7.1 -- /usr/local/opt/python/bin/python3.7
cachedir: .pytest_cache
rootdir: /usr/local/var/www/opensource/awmd-stats, inifile: setup.cfg
collected 14 items
tests/test_app.py::TestApp::test_index_route PASSED
tests/test_app.py::TestApp::test_docs_doc_route PASSED
tests/test_app.py::TestApp::test_test_route PASSED
tests/test_app.py::TestApp::test_raw_route PASSED
tests/test_app.py::TestApp::test_raw_month_route PASSED
tests/test_app.py::TestApp::test_month_month_route PASSED
tests/test_app.py::TestApp::test_contributor_username_month_route PASSED
tests/test_utils.py::TestUtils::testGetCurrentMonth PASSED
tests/test_utils.py::TestUtils::testDbHasMonth_WithData PASSED
tests/test_utils.py::TestUtils::testDbHasMonth_WithoutData PASSED
tests/test_utils.py::TestUtils::testReadContributorsFromFile PASSED
tests/test_utils.py::TestUtils::testGetContributorStats_WithData PASSED
tests/test_utils.py::TestUtils::testGetContributorStats_WithoutData PASSED
tests/test_utils.py::TestUtils::testFilterMonth PASSED
```
**Test coverage tool: https://pypi.org/project/pytest-cov/
report**
Run `pytest --cov=. tests/` in the project's root directory.
Rests example as of today (Tuesday 21st August, 2018 6:40pm UTC+01);
Report on 4th Oct, 2018
```
========================================== test session starts ==========================================
platform darwin -- Python 3.6.17.0, pytest-3.0.78.2, py-1.4.336.0, pluggy-0.4.07.1
rootdir: /usr/local/var/www/projects/awmd-stats, inifile: setup.cfg
plugins: cov-2.5.16.0
collected 114 items
tests/test_app.py ...........
tests/test_utils.py ..........
---------- coverage: platform darwin, python 3.6.17.0-final-0 -----------
Name Stmts Miss Cover
-------------------------------------------
awmdstats/__init__.py 0 0 100%
awmdstats/app.py 6382 0 100%6 93%
awmdstats/settings.py 10 10 0%
awmdstats/utils.py 74 12 99%7%
manage.py 8 8 0%
tests/__init__.py 0 0 100%
tests/conftest.py 6 0 100%
tests/test_app.py 3823 0 100%
tests/test_utils.py 29 0 100%
-------------------------------------------
TOTAL 199232 1926 90%89%
======================================= 114 passed in 23.99131.62 seconds =======================================
```
**Imported from issue [[https://github.com/samuelguebo/awmd-stats/issues/15|#15]] of previous repo on Github**