diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-01 07:55:11 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-01 07:55:11 -0400 |
commit | edf151c4917a39fdbb1362af1a440aa376eacc76 (patch) | |
tree | 04706c433b85bbc9d098c72e0d2c892c18fed088 /test/test_testplugin.py | |
parent | 316a9d5a98f072dd14e25601467a49ba8397342a (diff) | |
download | python-coveragepy-edf151c4917a39fdbb1362af1a440aa376eacc76.tar.gz |
Add some docstrings
Diffstat (limited to 'test/test_testplugin.py')
-rw-r--r-- | test/test_testplugin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_testplugin.py b/test/test_testplugin.py index 418ac2c..15ed408 100644 --- a/test/test_testplugin.py +++ b/test/test_testplugin.py @@ -1,9 +1,13 @@ +"""Tests of the test-runner plugins.""" + import py import unittest from nose.plugins import PluginTester from coverage.runners.noseplugin import Coverage class TestCoverage(PluginTester, unittest.TestCase): + """Test the nose plugin.""" + activate = '--with-coverage' # enables the plugin plugins = [Coverage()] args = ['--cover-report=report'] @@ -21,6 +25,8 @@ class TestCoverage(PluginTester, unittest.TestCase): pytest_plugins = ['pytester'] def test_functional(testdir): + """Test the py.test plugin.""" + testdir.makepyfile(""" def f(): x = 42 |