summaryrefslogtreecommitdiff
path: root/test/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-01-06 21:58:36 -0500
committerNed Batchelder <ned@nedbatchelder.com>2010-01-06 21:58:36 -0500
commitb3908795fd4888d67de2fe89a742de1eba24e225 (patch)
treed39bdd96fd306b4db8a008b482f0acd3ba237834 /test/test_config.py
parent06fd9e4574ceeab636fe4def9127bf91cc531c51 (diff)
downloadpython-coveragepy-git-b3908795fd4888d67de2fe89a742de1eba24e225.tar.gz
HTML output directory is now settable in the .rc file.
Diffstat (limited to 'test/test_config.py')
-rw-r--r--test/test_config.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test_config.py b/test/test_config.py
index 4f4b15a6..09928881 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -106,8 +106,13 @@ class ConfigFileTest(CoverageTest):
exclude_lines =
if 0:
- pragma:?\s+no cover
+ pragma:?\\s+no cover
another_tab
+
+ [html]
+
+ directory = c:\\tricky\\dir.somewhere
+
""")
cov = coverage.coverage()
self.assertFalse(cov.config.branch)
@@ -117,3 +122,4 @@ class ConfigFileTest(CoverageTest):
self.assertEqual(cov.get_exclude_list(),
["if 0:", "pragma:?\s+no cover", "another_tab"]
)
+ self.assertEqual(cov.config.html_dir, r"c:\tricky\dir.somewhere")