SVN: zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py Removed now superfluous setup/teardown methods.

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <20080504125848.97431399C7__969.023866537277$1209905985$gmane$org@mail.zope.org>
Log message for revision 86359:
  Removed now superfluous setup/teardown methods.
  

Changed:
  U   zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py

-=-
Modified: zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py
===================================================================
--- zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py	2008-05-04 12:57:40 UTC (rev 86358)
+++ zope.testing/branches/ctheune-cleanup/src/zope/testing/testrunner/runner.py	2008-05-04 12:58:48 UTC (rev 86359)
@@ -102,7 +102,6 @@
         if self.options.fail:
             return True
 
-        self.setup_features()
         # Global setup
         for feature in self.features:
             feature.global_setup()
@@ -126,7 +125,6 @@
             # Global teardown
             for feature in reversed(self.features):
                 feature.global_teardown()
-            self.shutdown_features()
 
         if self.show_report:
             self.report()
@@ -175,9 +173,6 @@
         # Remove all features that aren't activated
         self.features = [f for f in self.features if f.active]
 
-    def setup_features(self):
-        pass
-
     def find_tests(self):
         global _layer_name_cache
         _layer_name_cache.clear() # Reset to enforce test isolation
@@ -284,9 +279,6 @@
 
         self.failed = bool(self.import_errors or self.failures or self.errors)
 
-    def shutdown_features(self):
-        pass
-
     def report(self):
         if self.options.resume_layer:
             sys.stdout.close()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.