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