Beispiel #1
0
 def tearDown(self):
     """
     Given that nosetests test isolation is "incompatible" with w3af's kb, cf, etc.
     objects, and the tests written here are overwriting some classes that are
     loaded into sys.modules, I need to clean the mess after I finish.
     
     @see: http://mousebender.wordpress.com/2006/12/07/test-isolation-in-nose/
     """
     # print sys.modules['core.controllers.auto_update.w3afSVNClient']
     # from ..auto_update import w3afSVNClient
     PyMockTestCase.tearDown(self)
Beispiel #2
0
 def tearDown(self):
     PyMockTestCase.tearDown(self)
     # Shutdown the proxy server
     self._proxy.stop()