chore: remove plugin which is not using

This commit is contained in:
salman2013
2023-10-04 15:57:33 +05:00
parent 70eafef798
commit 2b6a6f867e

View File

@@ -1,29 +0,0 @@
"""
A pytest plugin that reports test contexts to coverage running in another process.
"""
import pytest
class RemoteContextPlugin:
"""
Pytest plugin for reporting pytests contexts to coverage running in another process
"""
def __init__(self, config):
self.config = config
self.active = config.getoption("pytest-contexts")
@pytest.hookimpl(tryfirst=True)
def pytest_configure(config):
config.pluginmanager.register(RemoteContextPlugin(config), "remotecontextplugin")
def pytest_addoption(parser):
group = parser.getgroup("coverage")
group.addoption(
"--pytest-remote-contexts",
action="store_true",
dest="pytest-contexts",
help="Capture the pytest contexts that coverage is being captured in in another process",
)