diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-04-28 13:19:56 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-04-28 13:19:56 -0400 |
commit | 50ebf93932abac7b163ae98a724ec20c327ba588 (patch) | |
tree | e3bb32e37c23cd235f4cb3652ef1299e64a44d2c /tests/test_plugins.py | |
parent | 8810f059d700900624431720e6c034f1dca779c0 (diff) | |
download | python-coveragepy-git-50ebf93932abac7b163ae98a724ec20c327ba588.tar.gz |
Clean up some style in #782, switch_context
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 264e7aea..d6f5ac46 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -925,7 +925,7 @@ class DynamicContextPluginTest(CoverageTest): reg.add_dynamic_context(Plugin()) """) - def make_testsuite(self): + def make_test_files(self): """Make some files to use while testing dynamic context plugins.""" self.make_file("rendering.py", """\ def html_tag(tag, content): @@ -979,7 +979,7 @@ class DynamicContextPluginTest(CoverageTest): def test_plugin_standalone(self): self.make_plugin_capitalized_testnames('plugin_tests.py') - self.make_testsuite() + self.make_test_files() # Enable dynamic context plugin cov = coverage.Coverage() @@ -1010,7 +1010,7 @@ class DynamicContextPluginTest(CoverageTest): def test_static_context(self): self.make_plugin_capitalized_testnames('plugin_tests.py') - self.make_testsuite() + self.make_test_files() # Enable dynamic context plugin for coverage with named context cov = coverage.Coverage(context='mytests') @@ -1031,7 +1031,7 @@ class DynamicContextPluginTest(CoverageTest): def test_plugin_with_test_function(self): self.make_plugin_capitalized_testnames('plugin_tests.py') - self.make_testsuite() + self.make_test_files() # Enable both a plugin and test_function dynamic context cov = coverage.Coverage() @@ -1066,7 +1066,7 @@ class DynamicContextPluginTest(CoverageTest): def test_multiple_plugins(self): self.make_plugin_capitalized_testnames('plugin_tests.py') self.make_plugin_track_render('plugin_renderers.py') - self.make_testsuite() + self.make_test_files() # Enable two plugins cov = coverage.Coverage() |