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

View File

@@ -1,11 +1,10 @@
[nosetests]
verbosity=2
detailed-errors=1
#tests=tests
cover-package=mongoengine
[flake8]
ignore=E501,F401,F403,F405,I201,I202,W504, W605, W503
exclude=build,dist,docs,venv,venv3,.tox,.eggs,tests
max-complexity=47
application-import-names=mongoengine,tests
[tool:pytest]
# Limits the discovery to tests directory
# avoids that it runs for instance the benchmark
testpaths = tests