Thank you guys, that fixed the problem... Edgar
On 9/5/12 1:54 PM, "Dan Wendlandt" <[email protected]> wrote: >This dependency is already covered in tools/test-requires, so I >*think* just recreating your tox environment with the --recreate >should be sufficient. > >Dan > > >On Wed, Sep 5, 2012 at 1:45 PM, Maru Newby <[email protected]> wrote: >> 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 >> > > > >-- >~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Wendlandt >Nicira, Inc: www.nicira.com >twitter: danwendlandt >~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Mailing list: https://launchpad.net/~quantum-core Post to : [email protected] Unsubscribe : https://launchpad.net/~quantum-core More help : https://help.launchpad.net/ListHelp

