diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-01-09 20:57:37 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-01-09 20:57:37 -0500 |
commit | 1bec288c62eca5f608e047c009730a43da7df725 (patch) | |
tree | cf4784f5aa045684f705a24c11935aadaafe5b0a /test/test_config.py | |
parent | 0d54199f9c087c230d6e7d1bc0fd933ffb5ac82a (diff) | |
download | python-coveragepy-git-1bec288c62eca5f608e047c009730a43da7df725.tar.gz |
XML output file is configurable in .rc file.
--HG--
rename : test/farm/html/run_a_xml.py => test/farm/html/run_a_xml_1.py
Diffstat (limited to 'test/test_config.py')
-rw-r--r-- | test/test_config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_config.py b/test/test_config.py index 478f1150..f4bd65bf 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -93,6 +93,7 @@ class ConfigFileTest(CoverageTest): """Tests of the config file settings in particular.""" def test_config_file_settings(self): + # This sample file tries to use lots of variation of syntax... self.make_file(".coveragerc", """\ # This is a settings file for coverage.py [run] @@ -119,6 +120,9 @@ class ConfigFileTest(CoverageTest): directory = c:\\tricky\\dir.somewhere + [xml] + output=mycov.xml + """) cov = coverage.coverage() @@ -137,3 +141,5 @@ class ConfigFileTest(CoverageTest): ) self.assertEqual(cov.config.html_dir, r"c:\tricky\dir.somewhere") + + self.assertEqual(cov.config.xml_output, "mycov.xml") |