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())
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()
def setUpClass(cls): tmp_session = tests.createEngineAndInitDB() create_entries.add_backup_templates(tests.getTransaction(), tmp_session) tmp_session.remove()