Пример #1
0
 def setUp(self):
     init_db_engine("sqlite://",
                    echo=False,
                    connect_args={'check_same_thread': False},
                    poolclass=StaticPool)
     create_db()
     self.engine = get_engine()
Пример #2
0
 def setUp(self):
     init_db_engine("sqlite://", echo=False,
                    connect_args={'check_same_thread': False},
                    poolclass=StaticPool)
     create_db()
     self.engine = get_engine()
Пример #3
0
 def setUp(self):
     init_db_engine("sqlite:///:memory:", echo=False)
     self.engine = get_engine()
Пример #4
0
 def setUp(self):
     init_db_engine("sqlite:///:memory:", echo=False)
     self.engine = get_engine()