def create_all_entries():
    create_entries.add_get_data_entries_to_db(tests.getTransaction(), tests.getSession())
    create_entries.add_set_data_entries_to_db(tests.getTransaction(), tests.getSession())
示例#2
0
 def setUp(self):
     self.transaction = tests.getTransaction()
     self.session = tests.create_engine_and_init_db()
     self.config = testing.setUp()
 def setUpClass(cls):
     tmp_session = tests.createEngineAndInitDB()
     create_entries.add_get_data_entries_to_db(tests.getTransaction(), 
                                               tmp_session)
     tmp_session.remove()
示例#4
0
 def setUpClass(cls):
     tmp_session = tests.createEngineAndInitDB()
     create_entries.add_backup_templates(tests.getTransaction(),
                                         tmp_session)
     tmp_session.remove()