Example #1
0
 def test_正测_查询某个销售订单列表详情(self):
     with allure.step('接口请求'):
         res_info = api_admin.bns_so_list()
         num = BusinessType(res_info)
         self.fpurchaseOrderId = jsonpath.jsonpath(res_info, "$.retEntity..fsaleOrderId")[num]
         res_info = api_admin.bns_so_detail(fsaleOrderId=self.fpurchaseOrderId)
     positive_check_bb_response(res_info)
Example #2
0
 def test_正测_查询到销售出库列表(self):
     with allure.step('接口请求'):
         res_info = api_admin.bns_so_sale_saleDeliveryApplyList()
     positive_check_bb_response(res_info)
Example #3
0
 def test_正测_查询到采购入库通知列表(self):
     with allure.step('接口请求'):
         res_info = api_admin.bns_po_stock_list()
     positive_check_bb_response(res_info)
Example #4
0
 def test_正测_查询到销售订单列表(self):
     with allure.step('接口请求'):
         res_info = api_admin.bns_so_list()
     positive_check_bb_response(res_info)
Example #5
0
 def test_正测_成功查询到菜单列表(self):
     with allure.step('接口请求'):
         res_info = api_admin.scn_queryMenu_menu(id=None, res_accurate=False, business_exception=False)
     positive_check_bb_response(res_info)