skeleton/test/realdb_test_CUBENAME.py
branchstable
changeset 6781 5062d86d6ffe
parent 5424 8ecbcbff9777
child 7856 51a3fb272bf3
--- a/skeleton/test/realdb_test_CUBENAME.py	Wed Jan 05 15:32:22 2011 +0100
+++ b/skeleton/test/realdb_test_CUBENAME.py	Wed Jan 05 15:32:56 2011 +0100
@@ -21,7 +21,7 @@
 from cubicweb.devtools import buildconfig, loadconfig
 from cubicweb.devtools.testlib import RealDBTest
 
-def setup_module(options):
+def setUpModule(options):
     if options.source:
         configcls = loadconfig(options.source)
     elif options.dbname is None:
@@ -33,7 +33,7 @@
     RealDatabaseTC.configcls = configcls
 
 class RealDatabaseTC(RealDBTest):
-    configcls = None # set by setup_module()
+    configcls = None # set by setUpModule()
 
     def test_all_primaries(self):
         for rset in self.iter_individual_rsets(limit=50):