server/test/unittest_multisources.py
changeset 6782 b5d6f5391695
parent 6762 812445504835
parent 6781 5062d86d6ffe
child 6783 5bbf827b6caf
--- a/server/test/unittest_multisources.py	Tue Jan 04 14:11:54 2011 +0100
+++ b/server/test/unittest_multisources.py	Wed Jan 05 17:50:21 2011 +0100
@@ -45,6 +45,7 @@
 PyroRQLSource_get_connection = PyroRQLSource.get_connection
 Connection_close = Connection.close
 
+<<<<<<< /home/syt/src/fcubicweb/cubicweb/server/test/unittest_multisources.py
 def add_extern_mapping(source):
     execute = source._cw.execute
     for etype in ('Card', 'Affaire', 'State'):
@@ -56,6 +57,9 @@
 
 
 def setup_module(*args):
+=======
+def setUpModule(*args):
+>>>>>>> /tmp/unittest_multisources.py~other.zhOXgM
     global repo2, cnx2, repo3, cnx3
     cfg1 = ExternalSource1Configuration('data', apphome=TwoSourcesTC.datadir)
     repo2, cnx2 = init_test_database(config=cfg1)
@@ -74,7 +78,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