Use a patched pytest-order
pytest-order contains a fix for parameterized tests in 1.0, but that version dropped support for Python 3.5. This patched version runs on Python 3.5 and has all the other updates in pytest-order 1.0.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
-r requirements.txt
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-order<1.0
|
||||
# We need a patched version of pytest-cov to run on 3.5 and handle parameterized tests
|
||||
git+https://github.com/SecurityInnovation/pytest-order.git@07ceb36233fb083275f34d5c8abbd3e35cd00158#egg=pytest-order
|
||||
flake8
|
||||
pep8-naming
|
||||
# NOTE: gpg is not here on purpose currently
|
||||
|
||||
3
tox.ini
3
tox.ini
@@ -23,7 +23,8 @@ deps =
|
||||
six>=1.9.0
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-order<1.0
|
||||
# We need a patched version of pytest-cov to run on 3.5 and handle parameterized tests
|
||||
git+https://github.com/SecurityInnovation/pytest-order.git@07ceb36233fb083275f34d5c8abbd3e35cd00158#egg=pytest-order
|
||||
|
||||
install_command = pip install {opts} --no-cache-dir {packages}
|
||||
commands =
|
||||
|
||||
Reference in New Issue
Block a user