コード例 #1
0
 def test_08(self, lhs: Lunhuishu):
     '''跳转到历史订单是否正常'''
     lhs.open("/lunhuishu/index?channel=online_paytest")
     lhs.lsdd()
     current_url = lhs.get_url()
     acturl_url = re.findall("https://(.+?)/index?", current_url)[0]
     expect_url = "cs.lingbz.com/orderquery"
     assert acturl_url == expect_url
コード例 #2
0
 def test_05(self, lhs: Lunhuishu):
     '''输入正常的信息是否正常'''
     lhs.open("/lunhuishu/index?channel=online_paytest")
     lhs.normal_information()
     current_url = lhs.get_url()
     acturl_url = re.findall("https://(.+?)/pay?", current_url)[0]
     expect_url = "cs.lingbz.com/lunhuishu"
     assert acturl_url == expect_url