##// END OF EJS Templates
pytest: report vcsserver failures always
super-admin -
r4990:15b1fad9 default
parent child Browse files
Show More
@@ -11,7 +11,7 b' addopts ='
11 --pdbcls=IPython.terminal.debugger:TerminalPdb
11 --pdbcls=IPython.terminal.debugger:TerminalPdb
12 --strict-markers
12 --strict-markers
13 --capture=no
13 --capture=no
14 --show-capture=no
14 --show-capture=all
15
15
16 markers =
16 markers =
17 vcs_operations: Mark tests depending on a running RhodeCode instance.
17 vcs_operations: Mark tests depending on a running RhodeCode instance.
@@ -140,7 +140,7 b' def pytest_runtest_makereport(item, call'
140 exc = call.excinfo.value
140 exc = call.excinfo.value
141 vcsserver_traceback = getattr(exc, '_vcs_server_traceback', None)
141 vcsserver_traceback = getattr(exc, '_vcs_server_traceback', None)
142
142
143 if vcsserver_traceback:
143 if vcsserver_traceback and report.outcome == 'failed':
144 section = f'VCSServer remote traceback {report.when}'
144 section = f'VCSServer remote traceback {report.when}'
145 report.sections.append((section, vcsserver_traceback))
145 report.sections.append((section, vcsserver_traceback))
146
146
General Comments 0
You need to be logged in to leave comments. Login now