Commit c8be96abae5d251860e82341a025e17057da0e44

Authored by lixi
1 parent ca692906

更新进门称重的方法

testcase/weightBizBill/test_weighingServiceSave.py
... ... @@ -2,11 +2,9 @@
2 2 # -*- coding: UTF-8 -*-
3 3 import unittest
4 4 import urllib3
5   -from commons import common as com
6 5 from commons.MySession import my,sy1
7 6 from commons.api.weighingServiceSave import weighingServiceSave
8 7 from commons.basic.listCarType import listCarType
9   -#作用为禁用请求安全提示,平时默认加上上面的urllib3语句就行
10 8 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
11 9 we=weighingServiceSave()
12 10 li=listCarType()
... ... @@ -18,7 +16,7 @@ class test_weighingServiceSave(unittest.TestCase):
18 16  
19 17 @unittest.case_mark(my.mark())
20 18 def test_weighingServiceSave_01(self):
21   - "称重服务-称重服务:成功新增一条称重单"
  19 + "称重服务-称重服务:成功新增一条称重服务单"
22 20 body=we.body.copy()
23 21 body["carTypeId"]=li.car_list()["data"][0]["id"]
24 22 body["carTypeName"]=li.car_list()["data"][0]["carTypeName"]
... ...