修复无法查询到 test suite 进行执行的问题
This commit is contained in:
parent
7daba32e0f
commit
48475f8f5b
|
@ -1,8 +1,8 @@
|
|||
from app import useDB
|
||||
from app.db import test_batch_manage
|
||||
class test_task_manage():
|
||||
def test_suite_list(self,runtype='2'):
|
||||
sql = 'select id,run_type from test_suite where status in (0,2) and run_type = "%s";' %runtype
|
||||
def test_suite_list(self):
|
||||
sql = 'select id,run_type from test_suite where status in (0,2) and run_type in ("2","Chrome)";'
|
||||
idList = useDB.useDB().search(sql)
|
||||
return idList
|
||||
|
||||
|
|
Loading…
Reference in New Issue