I am running unit tests on a CI server using py.test. Tests use external resources fetched over network. Sometimes test runner takes too long, causing test runner to be abor
I'm not sure this will solve your problem, but you can pass --durations=N to print the slowest N tests after the test suite finishes.
--durations=N
N
Use --durations=0 to print all.
--durations=0