コード例 #1
0
ファイル: test_case.py プロジェクト: hareq/pythonTestTool
def hotel_test():
    error = 0
    for data in getdata.hotel():
        checkpoint.checkout_base(data)
        checkpoint.checkout_city(data)
        checkpoint.checkout_district(data)
        checkpoint.checkout_downtown(data)
        checkpoint.checkout_province(data)
コード例 #2
0
ファイル: test_case.py プロジェクト: hareq/pythonTestTool
def railwaystation_test():
    error = 0
    for data in getdata.railwaystation():
        checkpoint.checkout_base(data)
        checkpoint.checkout_city(data)
        checkpoint.checkout_district(data)
        checkpoint.checkout_downtown(data)
        checkpoint.checkout_province(data)
コード例 #3
0
ファイル: test_case.py プロジェクト: hareq/pythonTestTool
def markland_test():
    error = 0
    for data in getdata.markland():
        checkpoint.checkout_base(data)
        checkpoint.checkout_city(data)
        checkpoint.checkout_district(data)
        checkpoint.checkout_downtown(data)
        checkpoint.checkout_province(data)
コード例 #4
0
ファイル: test_case.py プロジェクト: hareq/pythonTestTool
def airport_test():
    error = 0
    for data in getdata.airport():
        checkpoint.checkout_base(data)
        checkpoint.checkout_city(data)
        checkpoint.checkout_district(data)
        checkpoint.checkout_downtown(data)
        checkpoint.checkout_province(data)
コード例 #5
0
ファイル: test_case.py プロジェクト: hareq/pythonTestTool
def district_test():
    print "开始关键字测试+行政区"
    print "开始hotel_test"
    for data in getdata.hotel():
        checkpoint.checkout_district(data)
    print "开始markland_test"
    for data in getdata.markland():
        checkpoint.checkout_district(data)
    print "开始metrostation_test"
    for data in getdata.metrostation():
        checkpoint.checkout_district(data)
    print "开始airport_test"
    for data in getdata.airport():
        checkpoint.checkout_district(data)
    print "开始railwaystation_test"
    for data in getdata.railwaystation():
        checkpoint.checkout_district(data)