Merge pull request #21306 from cpennington/pytest-remote-context-name

Change the name of the remote context plugin
This commit is contained in:
Calen Pennington
2019-08-07 14:13:03 -04:00
committed by GitHub

View File

@@ -7,7 +7,7 @@ import pytest
import requests
class ContextPlugin(object):
class RemoteContextPlugin(object):
"""
Pytest plugin for reporting pytests contexts to coverage running in another process
"""
@@ -38,7 +38,7 @@ class ContextPlugin(object):
@pytest.hookimpl(tryfirst=True)
def pytest_configure(config):
config.pluginmanager.register(ContextPlugin(config), "contextplugin")
config.pluginmanager.register(RemoteContextPlugin(config), "remotecontextplugin")
def pytest_addoption(parser):