test_getSingleWithoutValidate.py 848 Bytes
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import unittest
from  commons import common as com
from commons.MySession import my,hg
from commons.api.hg.loan_vipCustomer.getSingleWithoutValidate import getSingleWithoutValidate
g=getSingleWithoutValidate()



class test_getSingleWithoutValidate(unittest.TestCase):
    "杭果市场-借款管理-大客户借款"

    @unittest.case_mark(my.mark())  
    def test_getSingleWithoutValidate_01(self):
        "新增-刷卡:刷卡查询园区卡信息"
        re=hg.post(url=g.url,headers=g.header,json=g.body)
        print(re.json())
        self.assertEqual(re.status_code, 200)
        self.assertTrue("'特朗普vip'" in str(re.json()).replace(" ",""))


if __name__ == "__main__":

    unittest.main(verbosity=2)

    # com.run_one(test_weightBizBill_listPage("test_weightBizBill_listPage_01"))