def setUp(self): cfg = RunConfig() self.baseurl = cfg.get_base_url() self.user = LoginAPI(self.baseurl) login = testData(self.baseurl) self.udata = login.getUserData[0] self.api = MyAPI() self.result = ""
def setUp(self): cfg = RunConfig() self.baseurl = cfg.get_base_url() self.d = data_init.testData(self.baseurl) self.verificationErrors = [] self.accept_next_alert = True self.api = MyAPI() self.user = NewAPIv1_2(self.baseurl)
def setUp(self): cfg = RunConfig() self.baseurl = cfg.get_base_url() d = data_init.testData(self.baseurl) self.data = d.getUserData self.verificationErrors = [] self.accept_next_alert = True self.api = MyAPI() self.db = dbManual.DBManual()
def setUp(self): cfg = RunConfig() self.baseurl = cfg.get_base_url() self.d = data_init.testData(self.baseurl) self.data = self.d.getUserData self.sidList = self.d.getSongIds self.auList = self.d.getAudios() self.cidList = self.d.getComments() self.verificationErrors = [] self.accept_next_alert = True self.api = MyAPI() self.db = dbManual.DBManual() self.user = DiscoverAPI(self.baseurl)