Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ mock_get_pos
Function
mock_get_pos
testing/test_terminal.py:2260–2261 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
2258
mocked_pos =
"some::nodeid"
2259
2260
def
mock_get_pos(*args):
2261
return
mocked_pos
2262
2263
monkeypatch.setattr(_pytest.terminal,
"_get_pos"
, mock_get_pos)
2264
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected