diff options
-rw-r--r-- | tests/plugin1.py | 4 | ||||
-rw-r--r-- | tests/plugin2.py | 4 | ||||
-rw-r--r-- | tests/test_plugins.py | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/plugin1.py b/tests/plugin1.py index 42769950..e03dadf1 100644 --- a/tests/plugin1.py +++ b/tests/plugin1.py @@ -1,7 +1,7 @@ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt -"""A plugin for test_plugins.py to import.""" +"""A file tracer plugin for test_plugins.py to import.""" import os.path @@ -9,7 +9,7 @@ import coverage class Plugin(coverage.CoveragePlugin): - """A plugin to import, so that it isn't in the test's current directory.""" + """A file tracer plugin to import, so that it isn't in the test's current directory.""" def file_tracer(self, filename): """Trace only files named xyz.py""" diff --git a/tests/plugin2.py b/tests/plugin2.py index 9651ce63..c1ab1c23 100644 --- a/tests/plugin2.py +++ b/tests/plugin2.py @@ -1,7 +1,7 @@ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt -"""A plugin for test_plugins.py to import.""" +"""A file tracer plugin for test_plugins.py to import.""" import os.path @@ -9,7 +9,7 @@ import coverage class Plugin(coverage.CoveragePlugin): - """A plugin for testing.""" + """A file tracer plugin for testing.""" def file_tracer(self, filename): if "render.py" in filename: return RenderFileTracer() diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 5486216a..4dfe0bde 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -271,8 +271,8 @@ class FileTracerTest(CoverageTest): self.skipTest("Plugins are only supported with the C tracer.") -class GoodPluginTest(FileTracerTest): - """Tests of plugin happy paths.""" +class GoodFileTracerTest(FileTracerTest): + """Tests of file tracer plugin happy paths.""" def test_plugin1(self): self.make_file("simple.py", """\ @@ -558,8 +558,8 @@ class GoodPluginTest(FileTracerTest): cov.analysis("fictional.py") -class BadPluginTest(FileTracerTest): - """Test error handling around plugins.""" +class BadFileTracerTest(FileTracerTest): + """Test error handling around file tracer plugins.""" def run_plugin(self, module_name): """Run a plugin with the given module_name. |