tests: Added control of pytest-twisted plugin to control the reactor
@@ -11,9 +11,9 @@ passenv = CALVIN_TEST_IP CALVIN_TESTING_PROXY_STORAGE
# Ignore errors to run all the commands, i.e. tests
ignore_errors=True
setenv = CALVIN_GLOBAL_DHT_NETWORK_FILTER = "{env:PWD:}{env:USER:}{env:USERNAME:}{env:CD:}{env:HOME:}{env:HOMEPATH:}{env:RANDOM:}{env:TERM_SESSION_ID:}"
-commands = py.test -v -m "essential or unittest" {posargs}
+commands = py.test -p no:twisted -v -m "essential or unittest" {posargs}
# Generate this list with git grep -l "pytest.inlineCallbacks" | tr '\n' ' '
- py.test -v --twisted calvin/runtime/north/tests/test_calvin_network.py calvin/runtime/north/tests/test_resource_monitor.py calvin/runtime/north/tests/test_storage.py calvin/runtime/south/plugins/async/twistedimpl/tests/test_server_connection.py calvin/runtime/south/plugins/storage/twistedimpl/dht/tests/test_dht_server.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_evil.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice2.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice3.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice4.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_secdht_server.py calvin/tests/helpers_twisted.py calvin/tests/test_all_storage.py
+ py.test -v calvin/runtime/north/tests/test_calvin_network.py calvin/runtime/north/tests/test_resource_monitor.py calvin/runtime/north/tests/test_storage.py calvin/runtime/south/plugins/async/twistedimpl/tests/test_server_connection.py calvin/runtime/south/plugins/storage/twistedimpl/dht/tests/test_dht_server.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_evil.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice2.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice3.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_nice4.py calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_secdht_server.py calvin/tests/helpers_twisted.py calvin/tests/test_all_storage.py
[testenv:pypy]
setenv = CALVIN_GLOBAL_DHT_NETWORK_FILTER = "{env:PWD:}{env:USER:}{env:USERNAME:}{env:CD:}{env:HOME:}{env:HOMEPATH:}{env:RANDOM:}{env:TERM_SESSION_ID:}"
