Hi Edgar,

The stopall() method was introduced in the latest version of mock - v1.0b1.  
Execute 'pip install --upgrade mock' and you should be good.

Cheers,


Maru

On 2012-09-05, at 9:35 PM, "Edgar Magana (eperdomo)" <[email protected]> wrote:

> Folks,
> 
> Testing the latest trunk code, I got the following error:
> 
> ======================================================================
> ERROR: test_clear_probe 
> (quantum.tests.unit.test_debug_commands.TestDebugCommands)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/eperdomo/openstack/quantum/quantum/tests/unit/test_debug_commands.py", 
> line 47, in setUp
>     self.addCleanup(mock.patch.stopall)
> AttributeError: 'function' object has no attribute 'stopall'
> 
> 
> I do have the mock library, did I miss something else?
> 
> Thanks,
> 
> Edgar
> -- 
> Mailing list: https://launchpad.net/~quantum-core
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~quantum-core
> More help   : https://help.launchpad.net/ListHelp

-- 
Mailing list: https://launchpad.net/~quantum-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~quantum-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to