Replace native test runner with pytest

This commit is contained in:
Bastian Germann 2019-05-25 16:43:43 +02:00
parent df538b1d70
commit 7288336ad4
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,9 @@
# E722 do not use bare except, specify exception instead
# F841 local variable '<variable>' is assigned to but never used
[aliases]
test=pytest
[pep8]
exclude=resources.py,vlc.py
max-line-length = 120

View File

@ -204,8 +204,9 @@ using a computer and a data projector.""",
'PyMuPDF',
'pyodbc',
'pysword',
'pytest',
'python-xlib; platform_system=="Linux"'
],
test_suite='tests',
setup_requires=['pytest-runner'],
entry_points={'gui_scripts': ['openlp = run_openlp:start']}
)