From edf151c4917a39fdbb1362af1a440aa376eacc76 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 1 Jun 2010 07:55:11 -0400 Subject: Add some docstrings --- coverage/runners/pytestplugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/runners/pytestplugin.py') diff --git a/coverage/runners/pytestplugin.py b/coverage/runners/pytestplugin.py index af825aa..0032b13 100644 --- a/coverage/runners/pytestplugin.py +++ b/coverage/runners/pytestplugin.py @@ -1,11 +1,11 @@ """py.test plugin hooks""" -from coverage.runners.plugin import CoverageTestWrapper, options +from coverage.runners.plugin import CoverageTestWrapper, OPTIONS def pytest_addoption(parser): """Get all the options from the coverage.runner and import them.""" group = parser.getgroup('Coverage options') - for opt in options: + for opt in OPTIONS: group._addoption_instance(opt) def pytest_configure(config): -- cgit v1.2.1