Reviewed: https://review.openstack.org/557368 Committed: https://git.openstack.org/cgit/openstack/oslotest/commit/?id=bb78b84c3fc8485e590f2c925c07731a9740a852 Submitter: Zuul Branch: master
commit bb78b84c3fc8485e590f2c925c07731a9740a852 Author: Claudiu Belu <email address hidden> Date: Wed Mar 28 01:07:18 2018 -0700
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
Reviewed: https:/ /review. openstack. org/557368 /git.openstack. org/cgit/ openstack/ oslotest/ commit/ ?id=bb78b84c3fc 8485e590f2c925c 07731a9740a852
Committed: https:/
Submitter: Zuul
Branch: master
commit bb78b84c3fc8485 e590f2c925c0773 1a9740a852
Author: Claudiu Belu <email address hidden>
Date: Wed Mar 28 01:07:18 2018 -0700
mock: Properly patch mock.MagicMock
MockAutospe cFixture should patch both internal and external usages MagicMock) . However, only
of MagicMock (mock.MagicMock and mock.mock.
the internal one is patched properly.
Related-Bug: #1735588
Change-Id: Ib9709f1cf5dbed 4792f5dd7c49d8f 9c77f04419f