diff --git a/python-django-mailman3.changes b/python-django-mailman3.changes index 0122af4..14d3d82 100644 --- a/python-django-mailman3.changes +++ b/python-django-mailman3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 26 09:12:06 UTC 2019 - pgajdos@suse.com + +- run the testsuite + ------------------------------------------------------------------- Wed Oct 2 13:02:30 UTC 2019 - pgajdos@suse.com diff --git a/python-django-mailman3.spec b/python-django-mailman3.spec index 40c33f5..cef471f 100644 --- a/python-django-mailman3.spec +++ b/python-django-mailman3.spec @@ -39,7 +39,8 @@ BuildArch: noarch BuildRequires: %{python_module Django >= 1.11} BuildRequires: %{python_module django-allauth} BuildRequires: %{python_module django-gravatar2 >= 1.0.6} -#BuildRequires: %%{python_module mailmanclient} +BuildRequires: %{python_module mailmanclient} +BuildRequires: %{python_module mock} BuildRequires: %{python_module pytz} # /SECTION %python_subpackages @@ -58,7 +59,7 @@ Django library to help interaction with Mailman %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# TODO, needs to figure out how to run tests +%python_expand PYTHONPATH='.' $python /usr/bin/django-admin.py test --settings=django_mailman3.tests.settings_test %files %{python_files} %doc README.rst