server/test/unittest_multisources.py
branchstable
changeset 6781 5062d86d6ffe
parent 6758 28b11ecf319b
child 6782 b5d6f5391695
child 7078 bad26a22fe29
--- a/server/test/unittest_multisources.py	Wed Jan 05 15:32:22 2011 +0100
+++ b/server/test/unittest_multisources.py	Wed Jan 05 15:32:56 2011 +0100
@@ -46,7 +46,7 @@
 PyroRQLSource_get_connection = PyroRQLSource.get_connection
 Connection_close = Connection.close
 
-def setup_module(*args):
+def setUpModule(*args):
     global repo2, cnx2, repo3, cnx3
     cfg1 = ExternalSource1Configuration('data', apphome=TwoSourcesTC.datadir)
     repo2, cnx2 = init_test_database(config=cfg1)
@@ -64,7 +64,7 @@
     # pool though we want to keep cnx2 valid
     Connection.close = lambda x: None
 
-def teardown_module(*args):
+def tearDownModule(*args):
     PyroRQLSource.get_connection = PyroRQLSource_get_connection
     Connection.close = Connection_close
     global repo2, cnx2, repo3, cnx3