switch test runner from nose to pytest

This commit is contained in:
Bastien Gérard
2019-08-25 15:21:30 +03:00
parent ecefa05e03
commit bbfa978861
6 changed files with 87 additions and 18 deletions

9
tests/test_ci.py Normal file
View File

@@ -0,0 +1,9 @@
def test_ci_placeholder():
# This empty test is used within the CI to
# setup the tox venv without running the test suite
# if we simply skip all test with pytest -k=wrong_pattern
# pytest command would return with exit_code=5 (i.e "no tests run")
# making travis fail
# this empty test is the recommended way to handle this
# as described in https://github.com/pytest-dev/pytest/issues/2393
pass