Esempio n. 1
0
 def test_023_api_78dk_platform_mm_base_deleteMerchant_is_null(self):
     """
     Time       :2019-08-12
     author     : 闫红
     desc       : 基本信息-删除-v1.4,商户为空
     """
     res = PlatformAction.test_api_78dk_platform_mm_base_deleteMerchant(
         uid='')
     Assertion.verity(json.loads(res)['code'], '20000')
     Assertion.verityContain(json.loads(res)['msg'], '参数异常')
Esempio n. 2
0
 def test_024_api_78dk_platform_mm_base_deleteMerchant_not_exist(self):
     """
     Time       :2019-08-12
     author     : 闫红
     desc       : 基本信息-删除-v1.4,不存在的商户
     """
     res = PlatformAction.test_api_78dk_platform_mm_base_deleteMerchant(
         uid=-1)
     Assertion.verity(json.loads(res)['code'], '20000')
     Assertion.verityContain(json.loads(res)['msg'], '商户Uuid不存在')
Esempio n. 3
0
 def test_022_api_78dk_platform_mm_base_deleteMerchant(self):
     """
     Time       :2019-08-12
     author     : 闫红
     desc       : 基本信息-删除-v1.4
     """
     res = PlatformAction.test_api_78dk_platform_mm_base_deleteMerchant(
         uid=merchantUuid_del)
     Assertion.verity(json.loads(res)['code'], '10000')
     Assertion.verity(json.loads(res)['msg'], '成功')