summaryrefslogtreecommitdiff
path: root/test/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-09 21:34:42 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-09 21:34:42 -0500
commit55cf19a0a29042cabbaf53644ee13d037ce88afb (patch)
treeffb488ccb3b988349d9eb4b81e045a5632a5332c /test/test_config.py
parent429868d515cc4ea74d625715512c57d3b5b93e73 (diff)
downloadpython-coveragepy-git-55cf19a0a29042cabbaf53644ee13d037ce88afb.tar.gz
Now the title of the HTML report can be set.
Diffstat (limited to 'test/test_config.py')
-rw-r--r--test/test_config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_config.py b/test/test_config.py
index 4fc658f4..a73ef345 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -139,6 +139,7 @@ class ConfigFileTest(CoverageTest):
directory = c:\\tricky\\dir.somewhere
extra_css=something/extra.css
+ title = My report & stuff # numbers
[xml]
output=mycov.xml
@@ -177,6 +178,7 @@ class ConfigFileTest(CoverageTest):
self.assertTrue(cov.config.show_missing)
self.assertEqual(cov.config.html_dir, r"c:\tricky\dir.somewhere")
self.assertEqual(cov.config.extra_css, "something/extra.css")
+ self.assertEqual(cov.config.html_title, "My report & stuff # numbers")
self.assertEqual(cov.config.xml_output, "mycov.xml")