Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ pastebin
Method
pastebin
testing/test_pastebin.py:88–89 ·
view source on GitHub ↗
(self, request)
Source
from the content-addressed store, hash-verified
86
class
TestPaste:
87
@pytest.fixture
88
def
pastebin(self, request):
89
return
request.config.pluginmanager.getplugin(
"pastebin"
)
90
91
@pytest.fixture
92
def
mocked_urlopen_fail(self, monkeypatch: MonkeyPatch):
Callers
nothing calls this directly
Calls
1
getplugin
Method · 0.80
Tested by
no test coverage detected