def setUp(self):
     '''初始化请求数据url'''
     url = LiveAPIData.urlData(self)
     url = url + "/api/live/chatmsg?"
     self.chatmsg_data = LiveAPIData.chatmsgData(self)
     t = THQS.thqs()
     chatmsg_data = t.get_thqs(self.chatmsg_data)
     self.chatmsg_url = url + chatmsg_data
     self.live = LiveAPIRequests.LiveAPIRequests
    def setUp(self):
        url = "http://api.csslcloud.net/api/live/chatmsg?"

        chatMsg_data = LiveAPIData.chatmsgData(self)
        t = THQS.thqs()

        self.chatMsg_data1, self.chatMsg_data2, self.chatMsg_data3 = (
            t.get_thqs(chatMsg_data[0]), t.get_thqs(chatMsg_data[1]),
            t.get_thqs(chatMsg_data[2]))
        self.chatMsg_url1, self.chatMsg_url2, self.chatMsg_url3 = url + self.chatMsg_data1, url + self.chatMsg_data2, url + self.chatMsg_data3

        self.live = LiveAPIRequests.LiveAPIRequests