]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove Mock class monkey patching
authorgit-harry <git-harry@live.co.uk>
Mon, 8 Sep 2014 15:30:03 +0000 (16:30 +0100)
committergit-harry <git-harry@live.co.uk>
Thu, 13 Nov 2014 13:46:33 +0000 (13:46 +0000)
commit07dd90cf86b91099dd7e709e4f5d3639ab3933b4
tree890b4b5a33304648f4e18420f4489d10c6700c50
parent3e36fb9666cf3d8fad73b2f7274f272588303718
Remove Mock class monkey patching

Replace use of Mock with Mock(). The Mock class was being modified and
so affecting other tests where Mock is used. An instance of the Mock
class is now used to keep the tests isolated.

Change-Id: Iccab8430d5814258c8c2d1f9af015bce999549bc
Closes-Bug: #1286245
cinder/tests/test_backup_ceph.py
cinder/tests/test_rbd.py