MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_basic_init

Method test_basic_init

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

Source from the content-addressed store, hash-verified

55 yield tmp_path
56
57 def test_basic_init(self, basedir: Path) -> None:
58 conftest = PytestPluginManager()
59 p = basedir / "adir"
60 assert (
61 conftest._rget_with_confmod("a", p, importmode="prepend", rootpath=basedir)[
62 1
63 ]
64 == 1
65 )
66
67 def test_immediate_initialiation_and_incremental_are_the_same(
68 self, basedir: Path

Callers

nothing calls this directly

Calls 2

_rget_with_confmodMethod · 0.95
PytestPluginManagerClass · 0.90

Tested by

no test coverage detected