mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use ZMQ switch utility in the integration tests
This commit is contained in:
parent
ab5fa34d7c
commit
296c589f4b
1 changed files with 3 additions and 7 deletions
|
@ -18,13 +18,9 @@ from tests.support.helpers import flaky
|
|||
from tests.support.unit import skipIf
|
||||
|
||||
# Import 3rd-party libs
|
||||
import salt.ext.six as six
|
||||
try:
|
||||
import zmq
|
||||
from zmq.eventloop.ioloop import ZMQIOLoop
|
||||
HAS_ZMQ_IOLOOP = True
|
||||
except ImportError:
|
||||
HAS_ZMQ_IOLOOP = False
|
||||
from salt.ext import six
|
||||
from salt.utils.zeromq import zmq, ZMQDefaultLoop as ZMQIOLoop
|
||||
HAS_ZMQ_IOLOOP = bool(zmq)
|
||||
|
||||
|
||||
def json_loads(data):
|
||||
|
|
Loading…
Add table
Reference in a new issue