Commit c44cc7c188d980b6e6f1388e2e49ea05fde7c869

Authored by lixi
1 parent 199c94fb

更新称重服务的用例依赖接口

commons/api/weighingServiceSave.py
... ... @@ -2,8 +2,8 @@
2 2 # -*- coding: UTF-8 -*-
3 3 import urllib3
4 4 from commons import common as com
5   -from commons.MySession import my,sy1,sy2
6   -from commons.api.duplicateToken import duplicateToken
  5 +from commons.MySession import sy1
  6 +from commons.basic.duplicateToken import duplicateToken
7 7 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
8 8 du=duplicateToken()
9 9  
... ...
commons/api/duplicateToken.py renamed to commons/basic/duplicateToken.py
testcase/weightBizBill/test_weighingServiceSave.py
... ... @@ -16,7 +16,7 @@ class test_weighingServiceSave(unittest.TestCase):
16 16  
17 17 @unittest.case_mark(my.mark())
18 18 def test_weighingServiceSave_01(self):
19   - "称重服务-称重服务:成功新增一条称重服务单"
  19 + "称重服务:成功新增一条称重服务单"
20 20 body=we.body.copy()
21 21 body["carTypeId"]=li.car_list()["data"][0]["id"]
22 22 body["carTypeName"]=li.car_list()["data"][0]["carTypeName"]
... ...