MCPcopy
hub / github.com/pytest-dev/pytest / test_basic_init

Method test_basic_init

testing/test_conftest.py:61–67  ·  view source on GitHub ↗
(self, basedir: Path)

Source from the content-addressed store, hash-verified

59 yield tmp_path
60
61 def test_basic_init(self, basedir: Path) -> None:
62 conftest = PytestPluginManager()
63 p = basedir / "adir"
64 conftest._loadconftestmodules(
65 p, importmode="prepend", rootpath=basedir, consider_namespace_packages=False
66 )
67 assert conftest._rget_with_confmod("a", p)[1] == 1
68
69 def test_immediate_initialization_and_incremental_are_the_same(
70 self, basedir: Path

Callers

nothing calls this directly

Calls 3

_loadconftestmodulesMethod · 0.95
_rget_with_confmodMethod · 0.95
PytestPluginManagerClass · 0.90

Tested by

no test coverage detected