Beispiel #1
0
 def setUpClass(cls):
     cls.http = HttpHandler()
     cls.url = 'http://apis.juhe.cn/cook/query'
     cls.data = {
         'menu': '鱼香肉丝',
         'key': '338ce1ecb756bf7ca4772fbb9f11cd75',
     }
Beispiel #2
0
 def setUpClass(cls):
     cls.remote_ip = 'http://182.92.178.14/page'
     cls.register_url = 'http://182.92.178.14/api/v1/register'
     cls.login_url = 'http://182.92.178.14/api/v1/login'
     cls.userinfo_url = 'http://182.92.178.14/api/v1/userInfo'
     cls.history_task_url = 'http://182.92.178.14/api/v1/userQuestion'
     cls.score = 'http://182.92.178.14/api/v1/userScore'
     cls.http = HttpHandler()
Beispiel #3
0
 def setUpClass(cls):
     cls.top_url = 'https://www.v2ex.com/api/topics/hot.json'
     cls.show_url = 'https://www.v2ex.com/api/nodes/show.json?name='
     cls.userinfo_url = 'https://www.v2ex.com/api/members/show.json?username='******'https://www.v2ex.com/api/topics/latest.json'
     cls.http = HttpHandler()
 def setUpClass(cls):
     cls.http = HttpHandler()
Beispiel #5
0
 def setUpClass(cls):
     cls.http = HttpHandler()
     cls.base_config = config.Config.enum.get('douban')
     cls.search_url = cls.base_config.get('search_url')
Beispiel #6
0
 def setUpClass(cls):
     cls.url = 'http://v.juhe.cn/weixin/query'
     cls.http = HttpHandler()