Commit 3b9ccd1f by 宋鹏博

修改审校文件

parent 7dcbf7ac
......@@ -4,9 +4,9 @@ import allure
from common.DButils import DButils
from common.untils import DriverTools
from config import user_name, password, updata_word_path, word_text, \
from config import user_name, password, word_text, \
updata_traditional_path, updata_music_path, updata_qrcode_path, updata_video_path, updata_picture_path, \
knowledge_text, login_url, userid, updata_word_name
knowledge_text, login_url, userid, updata_pdf_path, updata_pdf_name
from paga.AIEditingRoomPage import AIER
from paga.AiPrequalificationPage import Aiprequalification
from paga.AiReviewPage import Aireview
......@@ -35,13 +35,13 @@ class TestAireview:
# 图书审校流程
@allure.feature("图书审校流程")
def test_book_review(self):
self.aireview.book_review(updata_word_path)
self.aireview.book_review(updata_pdf_path)
time.sleep(3)
data = self.dbtuils.select_sql(
f'SELECT file_name ,status FROM aireview.assistant_task where create_user ={userid} and assistant_code '
'="diction" order by biz_id desc limit 1;')
assert data[0][0] == updata_word_name
assert data[0][0] == updata_pdf_name
# 文本审校流程
@allure.feature("文本审校流程")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment