예제 #1
0
def channelkeywordall():
    list = []
    for n in range(len(yamltool.dataMap()["channel"])):
        for m in range(len(yamltool.dataMap()["channel"].items()[n][1]["keyword"].split(","))):
            list.append(yamltool.dataMap()["channel"].items()[n][1]["keyword"].split(",")[m])
    return list

#channelkeywordall()
예제 #2
0
파일: url.py 프로젝트: hareq/pythonTestTool
def url_keyword(keyword):
    url = urlbase()
    url = url.replace("ipvlue",str(yamltool.dataMap()['urlvlue']['ipvlue']))
    url = url.replace("bodyvlue",str(yamltool.dataMap()['urlvlue']['bodyvlue']))
    url = url.replace("actionvlue",str(yamltool.dataMap()['urlvlue']['actionvlue']))
    url = url.replace("lonvlue",str(yamltool.dataMap()['urlvlue']['lonvlue']))
    url = url.replace("latvlue",str(yamltool.dataMap()['urlvlue']['latvlue']))
    url = url.replace("districtidvlue",str(yamltool.dataMap()['urlvlue']['districtidvlue']))
    url = url.replace("sourcevlue",str(yamltool.dataMap()['urlvlue']['sourcevlue']))
    url = url.replace("keywordvlue",keyword)
    return url
예제 #3
0
     def type(self):
         return yamltool.dataMap()["flightschedule"]["flightschedule3"]["type"]

#channelkeywordall()
예제 #4
0
파일: url.py 프로젝트: hareq/pythonTestTool
def sourcevlue():
    return yamltool.dataMap()["urlvlue"]["sourcevlue"]
예제 #5
0
파일: url.py 프로젝트: hareq/pythonTestTool
def sourcecompile():
    return yamltool.dataMap()["urlcompile"]["sourcecompile"]
예제 #6
0
파일: url.py 프로젝트: hareq/pythonTestTool
def urlbase():
    return yamltool.dataMap()["url"]["url"]
예제 #7
0
파일: url.py 프로젝트: hareq/pythonTestTool
def ipvlue():
    return yamltool.dataMap()["urlvlue"]["ipvlue"]
예제 #8
0
 def keyword(self):
     return yamltool.dataMap()["channel"]["flighthotel"]["keyword"].split(",")
예제 #9
0
 def type(self):
     return yamltool.dataMap()["channel"]["channeltrain"]["type"]
예제 #10
0
 def keyword(self):
     return yamltool.dataMap()["channel"]["channeltrain"]["keyword"].split(",")
예제 #11
0
 def same(self):
     return yamltool.dataMap()["channel"]["channelplane"]["same"].split(",")
예제 #12
0
 def type(self):
     return yamltool.dataMap()["channel"]["feature"]["type"]
예제 #13
0
 def type(self):
     return yamltool.dataMap()["channel"]["channelgroup"]["type"]
예제 #14
0
 def type(self):
     return yamltool.dataMap()["channel"]["flighthotel"]["type"]
예제 #15
0
 def keyword(self):
     return yamltool.dataMap()["flightschedule"]["flightschedule1"]["keyword"].split(",")
예제 #16
0
파일: url.py 프로젝트: hareq/pythonTestTool
def ipcompile():
    return yamltool.dataMap()["urlcompile"]["ipcompile"]
예제 #17
0
 def type(self):
     return yamltool.dataMap()["flightschedule"]["flightschedule1"]["type"]
예제 #18
0
 def keyword(self):
     return yamltool.dataMap()["channel"]["travelgroup"]["keyword"].split(",")