diff --git a/python-websockets.changes b/python-websockets.changes index 2713a7f..2254a3c 100644 --- a/python-websockets.changes +++ b/python-websockets.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-websockets.spec b/python-websockets.spec index 4ed547c..c939949 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -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