oslotest/oslotest
Claudiu Belu bb78b84c3f mock: Properly patch mock.MagicMock
MockAutospecFixture should patch both internal and external usages
of MagicMock (mock.MagicMock and mock.mock.MagicMock). However, only
the internal one is patched properly.

Related-Bug: #1735588

Change-Id: Ib9709f1cf5dbed4792f5dd7c49d8f9c77f04419f
2018-03-28 01:14:44 -07:00
..
tests mock: Properly patch mock.MagicMock 2018-03-28 01:14:44 -07:00
tools Restore missing module for pre-release test script 2015-02-20 12:47:00 -05:00
__init__.py Remove six.moves call 2015-01-15 11:24:07 +01:00
base.py Hack to get back stopall cleanup behavior feature 2016-02-17 06:54:22 -05:00
createfile.py Add CreateFileWithContent fixture 2015-06-12 19:15:18 +00:00
functional.py Deprecate oslotest.functional 2017-08-21 12:01:40 +02:00
log.py Allow TRACE and integer logging levels for 'OS_DEBUG' 2015-07-27 17:58:30 -07:00
mock_fixture.py mock: Properly patch mock.MagicMock 2018-03-28 01:14:44 -07:00
modules.py A DisableModules fixture that removes modules from path 2016-07-06 15:48:24 +10:00
moxstubout.py Remove six.moves call 2015-01-15 11:24:07 +01:00
output.py make the CaptureOutput fixture easier to control 2018-03-19 16:35:17 -04:00
timeout.py Create Timeout wrapper fixture 2015-06-12 14:34:51 +00:00