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

Method node

src/_pytest/fixtures.py:466–468  ·  view source on GitHub ↗

Underlying collection node (depends on current request scope).

(self)

Source from the content-addressed store, hash-verified

464
465 @property
466 def node(self):
467 """Underlying collection node (depends on current request scope)."""
468 return self._getscopeitem(self._scope)
469
470 def _getnextfixturedef(self, argname: str) -> "FixtureDef[Any]":
471 fixturedefs = self._arg2fixturedefs.get(argname, None)

Callers 2

pytest_sessionfinishMethod · 0.80
test_hostname_in_xmlMethod · 0.80

Calls 1

_getscopeitemMethod · 0.95

Tested by 1

test_hostname_in_xmlMethod · 0.64