tests: skip pvl.snmp, add pvl.dhcp.tests, and only include our own sources in the coverage report
--- a/test.sh Mon Mar 02 01:29:56 2015 +0200
+++ b/test.sh Mon Mar 02 01:36:41 2015 +0200
@@ -1,7 +1,6 @@
COVERAGE=opt/bin/coverage
DOCTEST=(
pvl/dhcp/config.py
- pvl/snmp/vlan.py
pvl/dns/serial.py
pvl/dns/labels.py
pvl/dns/reverse.py
@@ -9,6 +8,7 @@
)
UNITTEST=(
+ pvl.dhcp.tests
pvl.dns.tests
pvl.hosts.tests
)
@@ -29,4 +29,5 @@
coverage run -a -m doctest $py
done
-coverage html
+coverage html \
+ --include=pvl/dhcp/*.py,pvl/dns/*.py,pvl/hosts/*.py