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
commit99fee9149a879b786d1974115d5c8afc43a21d08 (patch)
tree78002675350b6b31fe0a351266bd2c68555de5b3 /test/test_config.py
parentf683ba3af6c539882dd0b4f750b476e2d9745ebe (diff)
downloadpython-coveragepy-99fee9149a879b786d1974115d5c8afc43a21d08.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 4fc658f..a73ef34 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")