예제 #1
0
    def setup_class(self):
        print("Setup Testing Environment....")
        setup_sql()
        qry = open(os.path.join(DbPool.DATABASE_PATH, "mock_data.sql"), 'r').read()

        ini_service = InitialService()
        conn = ini_service.get_connection()
        cur = conn.cursor()
        cur.executescript(qry)
 def setup_class(self):
     print("Setup Testing Environment....")
     setup_sql()