summaryrefslogtreecommitdiff
path: root/test/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-04-20 17:37:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-04-20 17:37:11 -0400
commit78e2c8c6e014b205e5f2cf7764ca9cf3597b318a (patch)
tree99dcb9b259c8c343e1623c705dda50201b7b0d82 /test/test_config.py
parent886c61c219b68dd66103a8c05f96ae9bf6b82ad6 (diff)
downloadpython-coveragepy-git-78e2c8c6e014b205e5f2cf7764ca9cf3597b318a.tar.gz
The [html]extra_css configuration value is a file path to a CSS file that gets copied into the HTML report.
Diffstat (limited to 'test/test_config.py')
-rw-r--r--test/test_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_config.py b/test/test_config.py
index 236216f6..bf42bf76 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -138,7 +138,7 @@ class ConfigFileTest(CoverageTest):
[html]
directory = c:\\tricky\\dir.somewhere
-
+ extra_css=something/extra.css
[xml]
output=mycov.xml
@@ -176,6 +176,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.xml_output, "mycov.xml")