Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
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)
Esempio n. 4
0
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)
Esempio n. 5
0
def base_test():
    print "开始关键字测试"
    print "开始hotel_test"
    for data in getdata.hotel():
        checkpoint.checkout_base(data)
    print "开始markland_test"
    for data in getdata.markland():
        checkpoint.checkout_base(data)
    print "开始metrostation_test"
    for data in getdata.metrostation():
        checkpoint.checkout_base(data)
    print "开始airport_test"
    for data in getdata.airport():
        checkpoint.checkout_base(data)
    print "开始railwaystation_test"
    for data in getdata.railwaystation():
        checkpoint.checkout_base(data)