summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in3
-rwxr-xr-xsetup.py2
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
diff --git a/setup.py b/setup.py
index 6e92670..2fa7539 100755
--- a/setup.py
+++ b/setup.py
@@ -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",