oslo.messaging/oslo_messaging
Thomas Bechtold f0b4baa707 Mock 'oslo_messaging.notify._impl_routing.LOG' in notifier tests
When running the tests with concurrency=1, 2 tests fail with:

  AttributeError: Mock object has no attribute 'debug'

and

  AssertionError: Expected 'notify' to be called once. Called 0 times

Mocking the LOG object solves the problem.

Change-Id: Ie7f4448a103fae448123a05bc92e961aac00d6ec
Closes-Bug: #1660393
2017-04-04 09:09:20 +02:00
..
_cmd [zmq] pass a dummy TransportURL to register_opts 2017-03-23 10:15:50 -04:00
_drivers Merge "Add "ssl" option for amqp driver" 2017-04-03 17:52:21 +00:00
hacking Test:Use unittest.mock on Python 3 2017-02-08 19:15:17 +08:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2016-07-01 07:58:08 +00:00
notify Trivial: Add executor 'threading' in docstring 2017-03-20 17:24:32 +08:00
rpc Trivial: Add executor 'threading' in docstring 2017-03-20 17:24:32 +08:00
tests Mock 'oslo_messaging.notify._impl_routing.LOG' in notifier tests 2017-04-04 09:09:20 +02:00
__init__.py Remove deprecated localcontext 2016-05-18 09:28:15 +02:00
_i18n.py Update translation setup 2016-01-29 10:39:35 +00:00
_utils.py Use method fetch_current_thread_functor from oslo.utils 2016-09-24 15:22:44 +08:00
conffixture.py [zmq] Redis unavailability is not critical 2016-08-16 11:29:59 +03:00
dispatcher.py Remove useless logging import statements 2016-11-08 10:11:13 +08:00
exceptions.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
opts.py Moving driver to new kafka-python version 2017-01-02 11:46:48 +01:00
serializer.py serializer: remove deprecated RequestContextSerializer 2017-03-29 16:21:17 +08:00
server.py Refactor logic of getting exector's executor_thread_pool_size 2017-04-03 05:16:27 +00:00
target.py Fixups to the inline documentation 2016-09-12 09:49:00 -04:00
transport.py Merge "Break user credentials from host at the rightmost '@'" 2017-04-03 16:25:47 +00:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00