← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1305656] [NEW] test that inherit from BaseTestCase don't need to clean up the mock.patches

 

Public bug reported:

In BaseTestCase a clean up is added to stop all patches :

self.addCleanup(mock.patch.stopall)


the tests that inherits from BaseTestCase don't need to stop their patches

** Affects: neutron
     Importance: Undecided
     Assignee: Rossella Sblendido (rossella-o)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1305656

Title:
  test that inherit from BaseTestCase don't need to clean up the
  mock.patches

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  In BaseTestCase a clean up is added to stop all patches :

  self.addCleanup(mock.patch.stopall)

  
  the tests that inherits from BaseTestCase don't need to stop their patches

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1305656/+subscriptions


Follow ups

References