Monkeypatch the 'pytest_terminal_summary' #6631
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: question
general question, might be closed after 2 weeks of inactivity
I am using pytest 4.0.0 and I wish to define my own
pytest_terminal_summary
for a test moduleBut the existing framework has defined
global
in top-levelconftest.py
and usingimport conftest
so my localcontest.py
doesn't work. I know this is not recommended, but it is what it is :(Since I can't change hence I am trying to override the
pytest_teriminal_summary
so I though ofmonkeypatch
itI was reading through examples and the issue #363 and this is what I am trying
But it doesn't seem to work. Any other suggestions are also welcome
The text was updated successfully, but these errors were encountered: