diff --git a/python-websockets.changes b/python-websockets.changes index 8e03db1..2254a3c 100644 --- a/python-websockets.changes +++ b/python-websockets.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Oct 1 07:22:29 UTC 2018 - Tomáš Chvátal + +- Call the tests the same way as upstream to avoid import cycles + +------------------------------------------------------------------- +Mon Sep 24 07:35:18 UTC 2018 - Tomáš Chvátal + +- Do make sure to error out on test failure. + ------------------------------------------------------------------- Wed Aug 29 11:41:58 UTC 2018 - tchvatal@suse.com diff --git a/python-websockets.spec b/python-websockets.spec index 33d3dae..c939949 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -55,10 +55,8 @@ export CFLAGS="%{optflags}" %check # Test execution speed depends on BS load and architecture, relax -# With 6.0 release tests got very racy, retest when updating -# https://github.com/aaugustin/websockets/issues/415 export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5 -%python_exec setup.py test || : +%python_exec -m unittest %files %{python_files} %license LICENSE