changeset 3176:b24235ec504f

fix test template
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 03 Mar 2008 02:10:49 +0100
parents 2a3a6cb34e45
children a7bf8ff3f517
files MoinMoin/_tests/_test_template.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/_test_template.py	Mon Mar 03 02:02:55 2008 +0100
+++ b/MoinMoin/_tests/_test_template.py	Mon Mar 03 02:10:49 2008 +0100
@@ -45,7 +45,7 @@
         ('Line break',  '<<BR>>',        '<br>'),
     )
 
-    def setup_class(cls):
+    def setup_class(self):
         """ Stuff that should be run to init the state of this test class
 
         Some test needs specific config values, or they will fail.
@@ -53,7 +53,7 @@
         self.config = self.TestConfig(defaults=['this option', 'that option'],
                                       another_option='non default value')
 
-    def teardown_class(cls):
+    def teardown_class(self):
         """ Stuff that should run to clean up the state of this test class
 
         """