Merge "[zmq] Add py34 configuration for functional tests"
This commit is contained in:
commit
7479689e72
@ -143,7 +143,10 @@ class ZmqSocket(object):
|
||||
raise rpc_common.RPCException(errmsg)
|
||||
|
||||
def connect_to_host(self, host):
|
||||
address = zmq_address.get_tcp_direct_address(host)
|
||||
address = zmq_address.get_tcp_direct_address(
|
||||
host.decode('utf-8') if six.PY3 and
|
||||
isinstance(host, six.binary_type) else host
|
||||
)
|
||||
self.connect_to_address(address)
|
||||
|
||||
|
||||
|
4
tox.ini
4
tox.ini
@ -62,6 +62,10 @@ commands = {toxinidir}/setup-test-env-qpid.sh 1.0 python setup.py testr --slowes
|
||||
[testenv:py27-func-zeromq]
|
||||
commands = {toxinidir}/setup-test-env-zmq.sh python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
|
||||
|
||||
[testenv:py34-func-zeromq]
|
||||
basepython = python3.4
|
||||
commands = {toxinidir}/setup-test-env-zmq.sh python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
|
||||
|
||||
[testenv:py27-func-zeromq-proxy]
|
||||
commands = {toxinidir}/setup-test-env-zmq-proxy.sh python setup.py testr --slowest --testr-args='oslo_messaging.tests.functional'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user