oslo.messaging/oslo_messaging/tests
Victor Stinner 72c501454e Use unittest.mock on Python 3
The mock module has been added to Python 3.3 as unittest.mock.

The third party mock module doesn't seem to be maintained anymore: the
last commit was in April 2013.

unittest.mock is more recent, has less bugs and is compatible with
Python 3.4. There are bugs on Python 3 in the third party mock module,
examples:

* https://code.google.com/p/mock/issues/detail?id=225
* https://code.google.com/p/mock/issues/detail?id=234

Oslo Messaging hits these issues when running tests on Python 3.4.

Import oslotest to setup six.moves for mock.

Change-Id: Ic160101695cea67eb9bbbfcaddb8d3dac64e6804
2015-04-16 00:07:48 +02:00
..
drivers Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
executors Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
functional Do not skip functional test for amqp driver 2015-04-03 07:40:51 +00:00
notify Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
rpc Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
__init__.py Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
test_amqp_driver.py Properly deserialize received AMQP 1.0 messages 2015-03-31 11:31:29 -04:00
test_exception_serialization.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
test_expected_exceptions.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_opts.py Move each drivers options into its own group 2015-02-02 10:58:54 +01:00
test_target.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_transport.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
test_urls.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_utils.py Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
utils.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00