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

Method getcall

src/_pytest/pytester.py:317–320  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

315 fail("\n".join(lines))
316
317 def getcall(self, name: str) -> RecordedHookCall:
318 values = self.getcalls(name)
319 assert len(values) == 1, (name, values)
320 return values[0]
321
322 # functionality for test reports
323

Callers 1

Calls 1

getcallsMethod · 0.95

Tested by

no test coverage detected