Пример #1
0
 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 = ""
Пример #2
0
 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)
Пример #3
0
 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()
Пример #4
0
 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)