summaryrefslogtreecommitdiff
path: root/test/test_testplugin.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-05-31 12:22:34 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-05-31 12:22:34 -0400
commit861b299d1c0e7c60245451b0d6b4c65858be0abd (patch)
tree0cf03ac4d0f8e592c3c0c3cec88c00063140baf6 /test/test_testplugin.py
parent48c3bdb3c87e1a701c4f6b88c516232fe868dc3b (diff)
downloadpython-coveragepy-git-861b299d1c0e7c60245451b0d6b4c65858be0abd.tar.gz
Clean up the plugins more. Add the rcfile and include options. Omit can no longer be a file of omissions, use the rcfile for that.
Diffstat (limited to 'test/test_testplugin.py')
-rw-r--r--test/test_testplugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_testplugin.py b/test/test_testplugin.py
index 2a38b86c..418ac2c8 100644
--- a/test/test_testplugin.py
+++ b/test/test_testplugin.py
@@ -6,7 +6,7 @@ from coverage.runners.noseplugin import Coverage
class TestCoverage(PluginTester, unittest.TestCase):
activate = '--with-coverage' # enables the plugin
plugins = [Coverage()]
- args = ['--cover-action=report']
+ args = ['--cover-report=report']
@py.test.mark.skipif(True) # "requires nose test runner"
def test_output(self):
@@ -27,7 +27,7 @@ def test_functional(testdir):
def test_whatever():
pass
""")
- result = testdir.runpytest("--cover-action=annotate")
+ result = testdir.runpytest("--cover-report=annotate")
assert result.ret == 0
assert result.stdout.fnmatch_lines([
'*Processing Coverage*'