提交 9b729c28 编写于 作者: A Alex Duan

test: add install taospyudf

上级 70043090
......@@ -20,6 +20,7 @@ from util.sqlset import *
import random
import os
import subprocess
class PerfDB:
......@@ -414,8 +415,17 @@ class TDTestCase:
tdSql.execute(sql)
tdLog.info(sql)
def install_taospy(self):
tdLog.info("install taospyudf...")
packs = ["taospyudf"]
for pack in packs:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', pack])
tdLog.info("install taospyudf successfully.")
# run
def run(self):
self.install_taospy()
# var
stable = "meters"
tbname = "d"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册