blob: a7e3c7f8181de2c025e49084240e086c938cf5cd (
plain)
1
2
3
4
5
6
7
8
|
import os
import subprocess
def pytest_sessionfinish(session, exitstatus):
tox_env_dir = os.environ.get('TOX_WORK_DIR')
if exitstatus and tox_env_dir:
subprocess.call(["bash", "./rabbitmq_logs.sh"])
|