salt/tests/unit/utils
Sergey Kizunov a37a2700af ZeroMQ no longer required when transport is TCP
salt/master.py:
- If ZMQ is not importable, use `tornado.ioloop.IOLoop` as the loop class.
- Check HAS_ZMQ before using any zmq.* content.
- Did not touch `FloMWorker` usage of zmq.*. This is only used when the
transport is RAET.

salt/minion.py:
- If ZMQ is not importable, use `tornado.ioloop.IOLoop` as the loop class.
- Check HAS_ZMQ before using any zmq.* content.

salt/transport/ipc.py:
- Added `IPCMessagePublisher`. This is intended to function much like
ZMQ's zmq.PUB sockets. Used in implementing utils/event.py to function
without ZMQ.
- Added `IPCMessageSubscriber`. This is intended to function much like
ZMQ's zmq.SUB sockets. Used in implementing utils/event.py to function
without ZMQ. What makes this class a bit different is that the associated
IO Loop is meant to not be running when it is used. Due to this, it is
recommended that the caller create a new IO Loop for this purpose. The
reason for this is that the `get_event()` API may be invoked from
anywhere, whether or not there is a current IO Loop that is running in
the thread of the invocation.

salt/utils/async.py:
- If ZMQ is not importable, use `tornado.ioloop.IOLoop` as the loop class.

salt/utils/event.py:
- Implemented using `salt.transport.ipc` instead of ZMQ.
- zmq.PUB ==> `IPCMessagePublisher`
- zmq.SUB ==> `IPCMessageSubscriber`
- zmq.PUSH ==> `IPCMessageClient`
- zmq.PULL ==> `IPCMessageServer`

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2015-12-07 20:22:16 -06:00
..
__init__.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
aggregation_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
args.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
async_test.py Keep track of SyncWrapper's IOLoop usage 2015-07-29 08:48:33 -07:00
boto_test.py Revert "utils.boto: add temporary ability to use without loader" 2015-04-17 00:59:11 +00:00
cache_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
cloud_test.py Change cwd back to Salt's code dir 2015-07-28 12:22:53 +01:00
configcomparer_test.py marathon and chronos proxy minions 2015-11-12 10:03:38 -07:00
context_test.py Context cache decorator 2015-02-23 19:27:27 -07:00
dictupdate_test.py Pylint fixes 2015-10-16 07:22:46 -06:00
etcd_util_test.py Catch ValueError on timeout on non-existing key 2015-12-01 10:30:45 -08:00
event_test.py ZeroMQ no longer required when transport is TCP 2015-12-07 20:22:16 -06:00
filebuffer_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
find_test.py Py3 compatibility fixes 2015-01-30 22:25:11 +00:00
format_call_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
http_test.py Add unit tests for new recursive function 2015-09-29 21:25:47 -06:00
immutabletypes.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
kwarg_regex_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
locales_test.py undo the memoization of contrived locale 2015-06-11 12:13:07 -06:00
network.py Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8 2015-07-20 13:55:14 -06:00
path_join_test.py Py3 compatibility fixes 2015-01-30 22:25:11 +00:00
process_test.py Py3 compatibility fixes 2015-01-30 22:25:05 +00:00
rsax931_test.py no-op 2015-06-15 17:08:43 -06:00
runtime_whitespace_regex_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
safe_walk_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
schedule_test.py Two more fixes to unit tests reflecting changes. 2015-08-13 10:53:37 -07:00
schema_test.py Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop 2015-08-17 17:06:59 -06:00
url_test.py Add http basic auth tests 2015-08-29 21:14:20 -05:00
utils_test.py remove trailing whitespace 2015-11-25 17:12:17 +01:00
validate_net_test.py improve test tests/unit/utils/validate_net_test.py useability 2015-02-09 11:52:08 +01:00
verify_test.py Py3 compatibility fixes 2015-01-30 22:25:10 +00:00
vt_test.py Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop 2015-06-11 13:15:38 -06:00
warnings_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
which_test.py Fix which test in PR#28812 2015-11-17 11:29:41 +03:00