From 4b6219f90172674ea4f0cfa30cbbfdac0c0025ac2e09ba4e7d108640c26564da Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 15 Nov 2019 08:45:40 +0000 Subject: [PATCH] - run the testsuite correctly OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=8 --- python-HyperKitty.changes | 5 +++++ python-HyperKitty.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-HyperKitty.changes b/python-HyperKitty.changes index 8a64012..3680132 100644 --- a/python-HyperKitty.changes +++ b/python-HyperKitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 14 20:58:30 UTC 2019 - pgajdos@suse.com + +- run the testsuite correctly + ------------------------------------------------------------------- Tue Oct 1 09:06:27 UTC 2019 - pgajdos@suse.com diff --git a/python-HyperKitty.spec b/python-HyperKitty.spec index 7a9393a..e7afa50 100644 --- a/python-HyperKitty.spec +++ b/python-HyperKitty.spec @@ -82,7 +82,8 @@ A web interface to access GNU Mailman v3 archives %check export DJANGO_SETTINGS_MODULE="hyperkitty.tests.settings_test" -%pytest +export PYTHONPATH='.' +%python_exec example_project/manage.py test %files %{python_files} %doc AUTHORS.txt README.rst