- Call the tests the same way as upstream to avoid import cycles

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal 2018-10-01 07:22:45 +00:00 committed by Git OBS Bridge
parent a72473c5d2
commit 591e075f50
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 1 07:22:29 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Call the tests the same way as upstream to avoid import cycles
-------------------------------------------------------------------
Mon Sep 24 07:35:18 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -56,7 +56,7 @@ export CFLAGS="%{optflags}"
%check
# Test execution speed depends on BS load and architecture, relax
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5
%python_exec setup.py test
%python_exec -m unittest
%files %{python_files}
%license LICENSE