_pytest.pastebin module

submit failure or test session information to a pastebin service.

pytest_addoption(parser)[source]
pytest_configure(config)[source]
pytest_unconfigure(config)[source]
create_new_paste(contents)[source]

Creates a new paste using bpaste.net service.

Contents

paste contents as utf-8 encoded bytes

Returns

url to the pasted contents or error message

pytest_terminal_summary(terminalreporter)[source]