summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-01-19 19:52:04 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-01-19 19:52:04 -0500
commit933ef836fce0dcf6adc0c40ef801c30c9a1d1293 (patch)
tree9f814179a05043f2c64e43ff38e06f184be9d52c /tests/test_config.py
parente03bfa80f990b0f30eedf4da3aa7cedfcb2ead27 (diff)
downloadpython-coveragepy-git-933ef836fce0dcf6adc0c40ef801c30c9a1d1293.tar.gz
XML package_depth configuration option. Thanks, Lex Berezhny
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 450c94fc..366b4bc7 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -233,6 +233,7 @@ class ConfigFileTest(CoverageTest):
title = Title & nums # nums!
[{section}xml]
output=mycov.xml
+ package_depth = 17
[{section}paths]
source =
@@ -294,6 +295,7 @@ class ConfigFileTest(CoverageTest):
self.assertEqual(cov.config.html_title, "Title & nums # nums!")
self.assertEqual(cov.config.xml_output, "mycov.xml")
+ self.assertEqual(cov.config.xml_package_depth, 17)
self.assertEqual(cov.config.paths, {
'source': ['.', '/home/ned/src/'],