tests: skip pvl.snmp, add pvl.dhcp.tests, and only include our own sources in the coverage report
authorTero Marttila <terom@paivola.fi>
Mon, 02 Mar 2015 01:36:41 +0200
changeset 683 fcc67f492a02
parent 682 60dbd952a15e
child 684 fbac5a08c9d3
tests: skip pvl.snmp, add pvl.dhcp.tests, and only include our own sources in the coverage report
test.sh
--- 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