diff --git a/app/db/test_task_manage.py b/app/db/test_task_manage.py index 35818df..4b3dbbf 100644 --- a/app/db/test_task_manage.py +++ b/app/db/test_task_manage.py @@ -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