コード例 #1
0
ファイル: userErrorCheck.py プロジェクト: ppyang010/gitdir
 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()
コード例 #2
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)