Exemplo 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)
Exemplo n.º 2
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)
Exemplo n.º 3
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)
Exemplo n.º 4
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)
Exemplo n.º 5
0
def downtown_test():
    print "开始关键字测试+商业区"
    print "开始hotel_test"
    for data in getdata.hotel():
        checkpoint.checkout_downtown(data)
    print "开始markland_test"
    for data in getdata.markland():
        checkpoint.checkout_downtown(data)
    print "开始metrostation_test"
    for data in getdata.metrostation():
        checkpoint.checkout_downtown(data)
    print "开始airport_test"
    for data in getdata.airport():
        checkpoint.checkout_downtown(data)
    print "开始railwaystation_test"
    for data in getdata.railwaystation():
        checkpoint.checkout_downtown(data)