summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-06-01 07:55:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-06-01 07:55:11 -0400
commita6bdf57239518ad149de626ec7c62c47393a85b3 (patch)
tree6ecc896f5c7ebe2bcfceae0d9d4524c3b694cfe6 /test
parent9be47b1a910715e6a0803ac8b6c03aa8fe8f29d7 (diff)
downloadpython-coveragepy-git-a6bdf57239518ad149de626ec7c62c47393a85b3.tar.gz
Add some docstrings
Diffstat (limited to 'test')
-rw-r--r--test/test_testplugin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_testplugin.py b/test/test_testplugin.py
index 418ac2c8..15ed4081 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