[devtools] pre_setup_database takes a Connection, not a Session
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 24 Jul 2014 14:52:16 +0200
changeset 9933 3674f249ab1d
parent 9932 c493767679b2
child 9934 e32964e28a45
[devtools] pre_setup_database takes a Connection, not a Session
devtools/testlib.py
--- a/devtools/testlib.py	Tue Jun 03 18:00:53 2014 +0200
+++ b/devtools/testlib.py	Thu Jul 24 14:52:16 2014 +0200
@@ -614,7 +614,7 @@
         """add your database setup code by overriding this method"""
 
     @classmethod
-    def pre_setup_database(cls, session, config):
+    def pre_setup_database(cls, cnx, config):
         """add your pre database setup code by overriding this method
 
         Do not forget to set the cls.test_db_id value to enable caching of the