summaryrefslogtreecommitdiff
path: root/test/test_cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-07 20:47:14 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-07 20:47:14 -0500
commit74adfa69b41443b3b83d6b14c2fc57fffb638384 (patch)
tree64e39562d7eec73ba669ed27402c12f627ae4caa /test/test_cmdline.py
parent3889069edd7c6232573c5bdd4f351cf5c1755132 (diff)
downloadpython-coveragepy-git-74adfa69b41443b3b83d6b14c2fc57fffb638384.tar.gz
Ugh. Setting the xml output file in the .coveragerc file simply didn't work. Now it does.
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r--test/test_cmdline.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py
index e8e2336e..af46d954 100644
--- a/test/test_cmdline.py
+++ b/test/test_cmdline.py
@@ -553,11 +553,11 @@ class NewCmdLineTest(CmdLineTest):
# coverage xml [-i] [--omit DIR,...] [FILE1 FILE2 ...]
self.cmd_executes("xml", self.INIT_LOAD + """\
.xml_report(ignore_errors=None, omit=None, include=None, morfs=[],
- outfile="coverage.xml")
+ outfile=None)
""")
self.cmd_executes("xml -i", self.INIT_LOAD + """\
.xml_report(ignore_errors=True, omit=None, include=None, morfs=[],
- outfile="coverage.xml")
+ outfile=None)
""")
self.cmd_executes("xml -o myxml.foo", self.INIT_LOAD + """\
.xml_report(ignore_errors=None, omit=None, include=None, morfs=[],
@@ -571,21 +571,21 @@ class NewCmdLineTest(CmdLineTest):
.coverage(cover_pylib=None, data_suffix=None, timid=None, branch=None, config_file=True, source=None, include=None, omit=["fooey"])
.load()
.xml_report(ignore_errors=None, omit=["fooey"], include=None, morfs=[],
- outfile="coverage.xml")
+ outfile=None)
""")
self.cmd_executes("xml --omit fooey,booey", """\
.coverage(cover_pylib=None, data_suffix=None, timid=None, branch=None, config_file=True, source=None, include=None, omit=["fooey", "booey"])
.load()
.xml_report(ignore_errors=None, omit=["fooey", "booey"], include=None,
- morfs=[], outfile="coverage.xml")
+ morfs=[], outfile=None)
""")
self.cmd_executes("xml mod1", self.INIT_LOAD + """\
.xml_report(ignore_errors=None, omit=None, include=None, morfs=["mod1"],
- outfile="coverage.xml")
+ outfile=None)
""")
self.cmd_executes("xml mod1 mod2 mod3", self.INIT_LOAD + """\
.xml_report(ignore_errors=None, omit=None, include=None,
- morfs=["mod1", "mod2", "mod3"], outfile="coverage.xml")
+ morfs=["mod1", "mod2", "mod3"], outfile=None)
""")
def test_no_arguments_at_all(self):