Use pytest instead of nosetests for tox python 2.7

if this works okay then will update others
This commit is contained in:
Lance Edgar 2021-12-30 16:48:16 -06:00
parent ff46d4d1e7
commit aaaca04053

View file

@ -11,8 +11,9 @@ commands =
[testenv:py27] [testenv:py27]
commands = commands =
pip install --upgrade pip pip install --upgrade pip
pip install --upgrade setuptools wheel
pip install --upgrade --upgrade-strategy eager 'rattail[auth,bouncer,db,tests]' 'sqlalchemy-utils<0.36.7' pip install --upgrade --upgrade-strategy eager 'rattail[auth,bouncer,db,tests]' 'sqlalchemy-utils<0.36.7'
nosetests {posargs} pytest {posargs}
[testenv:coverage] [testenv:coverage]
basepython = python3 basepython = python3