This way py.test can be run on the outside without a
command line error.
Change-Id: Ia3689806bffbabe176a827cca2f099e89a60ebf5
Closes: #4989
(cherry picked from commit
3ceb87da1a66f455444e69ba25ac18ea26d8751e)
license_file = LICENSE
[tool:pytest]
-addopts= --tb native -v -r sfxX --maxfail=25 -p no:warnings -p no:logging --max-worker-restart=5
+addopts= --tb native -v -r sfxX --maxfail=25 -p no:warnings -p no:logging
python_files=test/*test_*.py
[upload]
PYTHONNOUSERSITE=1
BASECOMMAND=python -m pytest --log-info=sqlalchemy.testing
- WORKERS={env:TOX_WORKERS:-n4}
- oracle,oracle6,oracle5: WORKERS={env:TOX_WORKERS:-n2}
+ WORKERS={env:TOX_WORKERS:-n4 --max-worker-restart=5}
+ oracle,oracle6,oracle5: WORKERS={env:TOX_WORKERS:-n2 --max-worker-restart=5}
nocext: DISABLE_SQLALCHEMY_CEXT=1
cov: COVERAGE={[testenv]cov_args}
sqlite: SQLITE={env:TOX_SQLITE:--db sqlite}