[openstack-dev] [Cinder] How to mock the LOG inside cinder driver

Mike Perez thingee at gmail.com
Tue Jun 3 18:08:02 UTC 2014


On 21:46 Tue 03 Jun     , Deepak Shetty wrote:
> <deepakcs> Hi, whats the right way to mock the LOG variable inside the
> driver ? I am mocking mock.patch.object(glusterfs, 'LOG') as mock_logger

Please provide a paste[1] of the patch.

[1] - http://paste.openstack.org

-- 
Mike Perez



More information about the OpenStack-dev mailing list