fname stringlengths 63 176 | rel_fname stringclasses 706
values | line int64 -1 4.5k | name stringlengths 1 81 | kind stringclasses 2
values | category stringclasses 2
values | info stringlengths 0 77.9k ⌀ |
|---|---|---|---|---|---|---|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 127 | api2 | ref | function | pytestpm.register(api2())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 131 | undo | ref | function | undo()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 133 | test_hook_proxy | def | function | def test_hook_proxy(self, pytester: Pytester) -> None:
"""Test the gethookproxy function(#2016)"""
config = pytester.parseconfig()
session = Session.from_config(config)
pytester.makepyfile(**{"tests/conftest.py": "", "tests/subdir/conftest.py": ""})
conftest1 = pytester.path... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 135 | parseconfig | ref | function | config = pytester.parseconfig()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 136 | from_config | ref | function | session = Session.from_config(config)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 137 | makepyfile | ref | function | pytester.makepyfile(**{"tests/conftest.py": "", "tests/subdir/conftest.py": ""})
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 139 | joinpath | ref | function | conftest1 = pytester.path.joinpath("tests/conftest.py")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 140 | joinpath | ref | function | conftest2 = pytester.path.joinpath("tests/subdir/conftest.py")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 142 | _importconftest | ref | function | config.pluginmanager._importconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 145 | gethookproxy | ref | function | ihook_a = session.gethookproxy(pytester.path / "tests")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 147 | _importconftest | ref | function | config.pluginmanager._importconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 150 | gethookproxy | ref | function | ihook_b = session.gethookproxy(pytester.path / "tests")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 153 | test_hook_with_addoption | def | function | def test_hook_with_addoption(self, pytester: Pytester) -> None:
"""Test that hooks can be used in a call to pytest_addoption"""
pytester.makepyfile(
newhooks="""
import pytest
@pytest.hookspec(firstresult=_True)
def pytest_default_value():
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 155 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 163 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 173 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 180 | runpytest | ref | function | res = pytester.runpytest("--help")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 181 | fnmatch_lines | ref | function | res.stdout.fnmatch_lines(["*--config=CONFIG*default_value*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 184 | test_default_markers | def | function | def test_default_markers(pytester: Pytester) -> None:
result = pytester.runpytest("--markers")
result.stdout.fnmatch_lines(["*tryfirst*first*", "*trylast*last*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 185 | runpytest | ref | function | result = pytester.runpytest("--markers")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 186 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*tryfirst*first*", "*trylast*last*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 189 | test_importplugin_error_message | def | function | def test_importplugin_error_message(
pytester: Pytester, pytestpm: PytestPluginManager
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 197 | syspathinsert | ref | function | pytester.syspathinsert(pytester.path)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 198 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 205 | raises | ref | function | with pytest.raises(ImportError) as excinfo:
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 206 | import_plugin | ref | function | pytestpm.import_plugin("qwe")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 214 | TestPytestPluginManager | def | class | test_register_imported_modules test_canonical_import test_consider_module test_consider_module_import_module test_consider_env_fails_to_import test_plugin_skip test_consider_env_plugin_instantiation test_pluginmanager_ENV_startup test_import_plugin_importname test_import_plugin_dotted_name test_consider_conftest_deps |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 215 | test_register_imported_modules | def | function | def test_register_imported_modules(self) -> None:
pm = PytestPluginManager()
mod = types.ModuleType("x.y.pytest_hello")
pm.register(mod)
assert pm.is_registered(mod)
values = pm.get_plugins()
assert mod in values
pytest.raises(ValueError, pm.register, mod)
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 216 | PytestPluginManager | ref | function | pm = PytestPluginManager()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 218 | register | ref | function | pm.register(mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 219 | is_registered | ref | function | assert pm.is_registered(mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 220 | get_plugins | ref | function | values = pm.get_plugins()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 222 | raises | ref | function | pytest.raises(ValueError, pm.register, mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 223 | raises | ref | function | pytest.raises(ValueError, lambda: pm.register(mod))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 223 | register | ref | function | pytest.raises(ValueError, lambda: pm.register(mod))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 225 | get_plugins | ref | function | assert pm.get_plugins() == values
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 227 | test_canonical_import | def | function | def test_canonical_import(self, monkeypatch):
mod = types.ModuleType("pytest_xyz")
monkeypatch.setitem(sys.modules, "pytest_xyz", mod)
pm = PytestPluginManager()
pm.import_plugin("pytest_xyz")
assert pm.get_plugin("pytest_xyz") == mod
assert pm.is_registered(mod)
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 229 | setitem | ref | function | monkeypatch.setitem(sys.modules, "pytest_xyz", mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 230 | PytestPluginManager | ref | function | pm = PytestPluginManager()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 231 | import_plugin | ref | function | pm.import_plugin("pytest_xyz")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 232 | get_plugin | ref | function | assert pm.get_plugin("pytest_xyz") == mod
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 233 | is_registered | ref | function | assert pm.is_registered(mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 235 | test_consider_module | def | function | def test_consider_module(
self, pytester: Pytester, pytestpm: PytestPluginManager
) -> None:
pytester.syspathinsert()
pytester.makepyfile(pytest_p1="#")
pytester.makepyfile(pytest_p2="#")
mod = types.ModuleType("temp")
mod.__dict__["pytest_plugins"] = ["pytest_p1"... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 238 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 239 | makepyfile | ref | function | pytester.makepyfile(pytest_p1="#")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 240 | makepyfile | ref | function | pytester.makepyfile(pytest_p2="#")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 243 | consider_module | ref | function | pytestpm.consider_module(mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 244 | get_plugin | ref | function | assert pytestpm.get_plugin("pytest_p1").__name__ == "pytest_p1"
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 245 | get_plugin | ref | function | assert pytestpm.get_plugin("pytest_p2").__name__ == "pytest_p2"
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 247 | test_consider_module_import_module | def | function | def test_consider_module_import_module(
self, pytester: Pytester, _config_for_test: Config
) -> None:
pytestpm = _config_for_test.pluginmanager
mod = types.ModuleType("x")
mod.__dict__["pytest_plugins"] = "pytest_a"
aplugin = pytester.makepyfile(pytest_a="#")
repr... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 253 | makepyfile | ref | function | aplugin = pytester.makepyfile(pytest_a="#")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 254 | make_hook_recorder | ref | function | reprec = pytester.make_hook_recorder(pytestpm)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 255 | syspathinsert | ref | function | pytester.syspathinsert(aplugin.parent)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 256 | consider_module | ref | function | pytestpm.consider_module(mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 257 | getcall | ref | function | call = reprec.getcall(pytestpm.hook.pytest_plugin_registered.name)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 261 | consider_module | ref | function | pytestpm.consider_module(mod)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 262 | getcalls | ref | function | values = reprec.getcalls("pytest_plugin_registered")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 265 | test_consider_env_fails_to_import | def | function | def test_consider_env_fails_to_import(
self, monkeypatch: MonkeyPatch, pytestpm: PytestPluginManager
) -> None:
monkeypatch.setenv("PYTEST_PLUGINS", "nonexisting", prepend=",")
with pytest.raises(ImportError):
pytestpm.consider_env()
@pytest.mark.filterwarnings("always")... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 268 | setenv | ref | function | monkeypatch.setenv("PYTEST_PLUGINS", "nonexisting", prepend=",")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 269 | raises | ref | function | with pytest.raises(ImportError):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 270 | consider_env | ref | function | pytestpm.consider_env()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 272 | filterwarnings | ref | function | @pytest.mark.filterwarnings("always")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 273 | test_plugin_skip | def | function | def test_plugin_skip(self, pytester: Pytester, monkeypatch: MonkeyPatch) -> None:
p = pytester.makepyfile(
skipping1="""
import pytest
pytest.skip("hello", allow_module_level=_True)
"""
)
shutil.copy(p, p.with_name("skipping2.py"))
monkeypa... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 274 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 280 | with_name | ref | function | shutil.copy(p, p.with_name("skipping2.py"))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 281 | setenv | ref | function | monkeypatch.setenv("PYTEST_PLUGINS", "skipping2")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 282 | runpytest | ref | function | result = pytester.runpytest("-p", "skipping1", syspathinsert=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 284 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 288 | test_consider_env_plugin_instantiation | def | function | def test_consider_env_plugin_instantiation(
self,
pytester: Pytester,
monkeypatch: MonkeyPatch,
pytestpm: PytestPluginManager,
) -> None:
pytester.syspathinsert()
pytester.makepyfile(xy123="#")
monkeypatch.setitem(os.environ, "PYTEST_PLUGINS", "xy123")
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 294 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 295 | makepyfile | ref | function | pytester.makepyfile(xy123="#")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 296 | setitem | ref | function | monkeypatch.setitem(os.environ, "PYTEST_PLUGINS", "xy123")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 297 | get_plugins | ref | function | l1 = len(pytestpm.get_plugins())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 298 | consider_env | ref | function | pytestpm.consider_env()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 299 | get_plugins | ref | function | l2 = len(pytestpm.get_plugins())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 301 | get_plugin | ref | function | assert pytestpm.get_plugin("xy123")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 302 | consider_env | ref | function | pytestpm.consider_env()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 303 | get_plugins | ref | function | l3 = len(pytestpm.get_plugins())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 306 | test_pluginmanager_ENV_startup | def | function | def test_pluginmanager_ENV_startup(
self, pytester: Pytester, monkeypatch: MonkeyPatch
) -> None:
pytester.makepyfile(pytest_x500="#")
p = pytester.makepyfile(
"""
import pytest
def test_hello(pytestconfig):
plugin = pytestconfig.plugin... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 309 | makepyfile | ref | function | pytester.makepyfile(pytest_x500="#")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 310 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 318 | setenv | ref | function | monkeypatch.setenv("PYTEST_PLUGINS", "pytest_x500", prepend=",")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 319 | runpytest | ref | function | result = pytester.runpytest(p, syspathinsert=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 321 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 passed*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 323 | test_import_plugin_importname | def | function | def test_import_plugin_importname(
self, pytester: Pytester, pytestpm: PytestPluginManager
) -> None:
pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwx.y")
pytester.syspathinsert()
pluginname... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 326 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 327 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwx.y")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 329 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 331 | makepyfile | ref | function | pytester.makepyfile(**{pluginname: ""})
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 332 | import_plugin | ref | function | pytestpm.import_plugin("pytest_hello")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 333 | get_plugins | ref | function | len1 = len(pytestpm.get_plugins())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 334 | import_plugin | ref | function | pytestpm.import_plugin("pytest_hello")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 335 | get_plugins | ref | function | len2 = len(pytestpm.get_plugins())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 337 | get_plugin | ref | function | plugin1 = pytestpm.get_plugin("pytest_hello")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 339 | get_plugin | ref | function | plugin2 = pytestpm.get_plugin("pytest_hello")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 342 | test_import_plugin_dotted_name | def | function | def test_import_plugin_dotted_name(
self, pytester: Pytester, pytestpm: PytestPluginManager
) -> None:
pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwex.y")
pytester.syspathinsert()
pytester... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 345 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "qweqwex.y")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 346 | raises | ref | function | pytest.raises(ImportError, pytestpm.import_plugin, "pytest_qweqwex.y")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 348 | syspathinsert | ref | function | pytester.syspathinsert()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_pluginmanager.py | testing/test_pluginmanager.py | 349 | mkpydir | ref | function | pytester.mkpydir("pkg").joinpath("plug.py").write_text("x=3")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.