Set up test coverage tool

Introduce two new commands for tox to measure test coverage and
generate reports using coverage.py

Issue: HIC-162
Change-Id: Iaaf77d981a335e1befcfb59e2294250ed22e0e2b
diff --git a/tox.ini b/tox.ini
index fd93580..2130c1b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,6 +15,23 @@
 commands =
     python manage.py test
 
+# Test coverage
+[testenv:coverage]
+deps =
+    {[testenv]deps}
+    coverage
+commands =
+    coverage run manage.py test
+    coverage report
+
+# Test coverage with html report
+[testenv:coverage-html]
+deps =
+    {[testenv:coverage]deps}
+commands =
+    {[testenv:coverage]commands}
+    coverage html
+
 # Linters
 [testenv:flake8]
 deps =