Local Schrodinger py.test customizations.
todo: It would be nice to have a SCHRODINGER traceback printer that
removed $SCHRODINGER from each path.
|
|
|
format_captured_exceptions(exceptions)
Formats exceptions given as (type, value, traceback) into a string
suitable to display as a test failure. |
|
|
|
pytest_runtest_teardown(item,
nextitem) |
|
|
|
pytest_addoption(parser)
Add Schrodinger options to run the post tests, or just the fastest
tests. |
|
|
|
|
|
schrodinger_pytest_load_initial_conftests(early_config,
parser,
args) |
|
|
|
pytest_cmdline_main(config) |
|
|
|
|
|
pytest_report_teststatus(report)
Put Killed tests into a separate group from other failures. |
|
|
|
|
|
pytest_sessionfinish(session,
exitstatus)
If there is uncollectable garbage, report about it and exit non-zero. |
|
|
|
pytest_unconfigure(config)
At the end of the py.test process, report: * memory use * all
processes belonging to current user (for user buildbot) |
|
|
|
|
|
pytest_itemcollected(item)
Don't run python tests under memtest. |
|
|
|
pytest_collection_modifyitems(items) |
|
|
|
_kill_process_and_children(pid,
timeout=5)
Terminate and ultimately kill a process and all of its children after
a waiting (at most) timeout seconds. |
|
|
|
start_qapp()
Start a qapp in this process if a display is present. |
|
|