oslo.messaging/oslo_messaging/tests
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
..
drivers Add "ssl" option for amqp driver 2017-04-03 17:23:17 +03:00
functional Merge "drivers: use common.ConfigOptsProxy everywhere" 2017-02-28 01:01:33 +00:00
notify Mock 'oslo_messaging.notify._impl_routing.LOG' in notifier tests 2017-04-04 09:09:20 +02:00
rpc Move decorator updated_kwarg_default_value to right place 2017-03-07 03:39:30 +00:00
__init__.py Test:Use unittest.mock on Python 3 2017-02-08 19:15:17 +08:00
test_config_opts_proxy.py Validate the transport url query string 2017-02-27 13:10:31 +01:00
test_exception_serialization.py Properly deserializes built-in exceptions 2016-10-05 16:57:55 -07:00
test_expected_exceptions.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_fixture.py Fixed a couple of pep8 errors/warnings 2016-01-25 15:00:49 +08:00
test_opts.py Test:Use unittest.mock on Python 3 2017-02-08 19:15:17 +08:00
test_target.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_transport.py Test:Use unittest.mock on Python 3 2017-02-08 19:15:17 +08:00
test_urls.py Add warning when credential is not specified for each host 2016-08-14 00:03:05 +08:00
test_utils.py Fixed a couple of pep8 errors/warnings 2016-01-25 15:00:49 +08:00
utils.py Remove self.mox 2017-03-07 03:41:16 +00:00