- Use %pyunittest macro instead of doing it on our own.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=27
This commit is contained in:
Matej Cepl 2021-08-10 07:18:23 +00:00 committed by Git OBS Bridge
parent ec0b5addeb
commit 44a7704273
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 10 07:18:14 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Use %pyunittest macro instead of doing it on our own.
-------------------------------------------------------------------
Sun Jun 6 12:00:22 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -57,7 +57,7 @@ export CFLAGS="%{optflags}"
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5
# https://github.com/aaugustin/websockets/issues/855 is an intermittent failure
# for test_keepalive_ping_does_not_crash_when_connection_lost on s390x
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest
%pyunittest_arch -v
%files %{python_files}
%license LICENSE