From 4faa5d699bf281ec45c108e0d0a903f4badf2d0c44c0db6add337a0715279c11 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Wed, 6 Nov 2019 11:32:31 +0000 Subject: [PATCH] - run tests except doc ones OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailmanclient?expand=0&rev=5 --- python-mailmanclient.changes | 5 +++++ python-mailmanclient.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-mailmanclient.changes b/python-mailmanclient.changes index 1f947e1..d6e2c3a 100644 --- a/python-mailmanclient.changes +++ b/python-mailmanclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 6 11:10:07 UTC 2019 - pgajdos@suse.com + +- run tests except doc ones + ------------------------------------------------------------------- Tue Oct 1 10:21:27 UTC 2019 - pgajdos@suse.com diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec index 504a043..26080f8 100644 --- a/python-mailmanclient.spec +++ b/python-mailmanclient.spec @@ -55,7 +55,12 @@ mailmanclient -- Python bindings for Mailman REST API %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# TODO, needs figure out how to run tests +# doctest does not work: +# Traceback (most recent call last): +# File "/usr/lib64/python3.7/logging/handlers.py", line 933, in emit +# self.socket.send(msg) +# OSError: [Errno 9] Bad file descriptor +%pytest -k 'not using.rst' %files %{python_files} %doc README.rst