python coverage sample on centos7 and using testtools. this sample assumes python-pip, python-virtualenv, python-coverage, and httpd are installed.
[root@localhost coverage_skeleton]# ls
Makefile README.md skeleton test-requirements.txt tools
[root@localhost coverage_skeleton]# . ./tools/install_venv
[root@localhost coverage_skeleton]# . .venv/bin/activate
(.venv)[root@localhost coverage_skeleton]#
(.venv)[root@localhost coverage_skeleton]# make
(.venv)[root@localhost coverage_skeleton]# deactivate