(self, monkeypatch, request)
| 10 | class TestPasteCapture: |
| 11 | @pytest.fixture |
| 12 | def pastebinlist(self, monkeypatch, request) -> List[Union[str, bytes]]: |
| 13 | pastebinlist: List[Union[str, bytes]] = [] |
| 14 | plugin = request.config.pluginmanager.getplugin("pastebin") |
| 15 | monkeypatch.setattr(plugin, "create_new_paste", pastebinlist.append) |
| 16 | return pastebinlist |
| 17 | |
| 18 | def test_failed(self, pytester: Pytester, pastebinlist) -> None: |
| 19 | testpath = pytester.makepyfile( |