diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-11 16:21:34 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-11 16:21:34 +0100 |
commit | c07c0d6e119356ec82572aa8d381052aa71408e9 (patch) | |
tree | 29fce576569307b2afe44c44b9932101cfef7cd7 | |
parent | b5999a01a985c857347de9941d94f9d81f77124f (diff) | |
download | survey-c07c0d6e119356ec82572aa8d381052aa71408e9.tar.gz survey-c07c0d6e119356ec82572aa8d381052aa71408e9.tar.bz2 survey-c07c0d6e119356ec82572aa8d381052aa71408e9.zip |
running tests via 'nose' and 'setuptools'
-rw-r--r-- | Makefile.in | 3 | ||||
-rwxr-xr-x | setup.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 1693ad7..5f3c47a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,5 +49,4 @@ install: $(templates) install-data .PHONY: check check: @export TALER_CONFIG_FILE=@abs_srcdir@/talersurvey/tests.conf; \ - export PYTHONPATH=@prefix@/lib/python@PYTHON_VERSION@/site-packages; \ - python3 talersurvey/tests.py + python3 setup.py test @@ -9,6 +9,8 @@ setup(name='talersurvey', license='GPL', packages=find_packages(), install_requires=["Flask>=0.10"], + test_suite="nose.collector", + tests_require=["mock", "nose"], package_data={ '':[ "survey/templates/*.html", |