diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-31 12:22:34 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-31 12:22:34 -0400 |
commit | d1deb9a0bccae2f478e054f8dcc134eef7bf140d (patch) | |
tree | 78f6eebd3ae48ca570743de83a137af48db72766 /test/test_testplugin.py | |
parent | f16cd373f1939788df624ebb69c862c295738a13 (diff) | |
download | python-coveragepy-d1deb9a0bccae2f478e054f8dcc134eef7bf140d.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.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_testplugin.py b/test/test_testplugin.py index 2a38b86..418ac2c 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*' |