Commit 2bb4d0a8 authored by zhanhuasheng's avatar zhanhuasheng

bugfix

parent d54c6a94
from Utils.sql_handler import test_env_conn
from TestData.account.account_test_data import accountData
import time
time.sleep(2)
select_sql = f'select * from willdesk.customer_service where id = {accountData.userId}'
select_result = test_env_conn.select_one_value(sql=select_sql)
setattr(accountData, 'local_lang', select_result['local_lang'])
# assert select_result['local_lang'] == accountData.target_language
\ No newline at end of file
......@@ -56,7 +56,7 @@ api7:
url: /api/v1/customerService/getCustomerServiceInfo?v=${v}
method: get
expected:
- eq: { "$.code": 0 }
- eq: {"$.code": 0 }
- eq: {"${local_lang}" : "${target_language}"}
api8:
......
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