# HG changeset patch # User Julien Cristau # Date 1406206336 -7200 # Node ID 3674f249ab1db99ef87da999fa9a436800085179 # Parent c493767679b24d249374f6bf970ea4049e734a4a [devtools] pre_setup_database takes a Connection, not a Session diff -r c493767679b2 -r 3674f249ab1d 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