Mercurial > hg > MakeItSo
changeset 265:d3852c5beff9
https://docs.pytest.org/en/latest/goodpractices.html
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 01 Sep 2017 09:34:56 -0700 |
parents | 2d298045da4d |
children | 402b17ba3d19 |
files | makeitso/python_package/setup.cfg makeitso/python_package/setup.py setup.py |
diffstat | 3 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/makeitso/python_package/setup.cfg Fri Sep 01 09:34:56 2017 -0700 @@ -0,0 +1,2 @@ +[aliases] +test=pytest
--- a/makeitso/python_package/setup.py Sun Aug 13 15:55:11 2017 -0700 +++ b/makeitso/python_package/setup.py Fri Sep 01 09:34:56 2017 -0700 @@ -37,7 +37,8 @@ license='', packages=['{{package}}'], include_package_data=True, - tests_require=['tox'], + setup_requires=['pytest-runner'], + tests_require=['tox', 'pytest'], zip_safe=False, **kw )