コード例 #1
0
 def setUp(self):
     self.base = baseUtils()
     self.projectPath = self.base.getProjectPath() + os.sep + "config" + os.sep + "config.ini"
     self.testData = self.base.getProjectPath() + os.sep + "config" + os.sep + "AnjouTestCase.xls"
     self.config = FileParser(self.projectPath)
     self.AC = Authentication()
     self.ex = excelUtil()
     self.batch = batch()
     self.ListQuery = getAlbumsList4Front()
     self.AlbumsDeatil = getAlbumsDeatil4Front()
     self.NailShow = queryAlbumsRelArticleList4Fr()
     self.addArticle = addArticle4Fr()
     self.updateArticle = updateArticle4Fr()
     self.Home = queryArticleListOfHomePub4Fr()
     self.deleteArticle = deleteArticle4Fr()
     self.addComment = addComment4Fr()
     self.getCommentList = getCommentList4Fr()
     self.addReply = addReply4Fr()
     self.Detail = queryArticleDetail4Fr()
     self.ArticleRecommend = queryArticleListOfRecommend4Fr()
     self.TagList = querySearchTagList4Fr()
     self.queryArticleListByTag = queryArticleListByTag4Fr()
     self.static = staticUserLog4Fr()
     self.queryTopic = queryTopicList4Fr()
     self.Discover = queryArticleListOfDiscover4Fr()
     self.queryTopicDetail = queryTopicDetail4Fr()
     self.getReplySimpleList = getReplySimpleList4Fr()
     self.filepath = self.base.getProjectPath() + os.sep + "testPicture" + os.sep + "printerOrder" + os.sep + "printTargetImg" + os.sep + "printTargetImg.jpg"
     self.file = self.base.getProjectPath() + os.sep + "testPicture" + os.sep + "AITest" + os.sep + "queryAiNailSuit4Front" + os.sep + "queryAiNailSuit4Front.jpg"
 def setUp(self):
     self.base = baseUtils()
     self.projectPath = self.base.getProjectPath() + os.sep + "config" + os.sep + "config.ini"
     self.testData = self.base.getProjectPath() + os.sep + "config" + os.sep + "AnjouTestCase.xls"
     self.config = FileParser(self.projectPath)
     self.AC = Authentication()
     self.ex = excelUtil()
     self.Home = queryArticleListOfHomePub4Fr()
     self.Discover = queryArticleListOfDiscover4Fr()
     self.Detail = queryArticleDetail4Fr()
コード例 #3
0
 def setUp(self):
     self.base = baseUtils()
     self.projectPath = self.base.getProjectPath() + os.sep + "config" + os.sep + "config.ini"
     self.testData = self.base.getProjectPath() + os.sep + "config" + os.sep + "AnjouTestCase.xls"
     self.config = FileParser(self.projectPath)
     self.AC = Authentication()
     self.ex = excelUtil()
     self.batch = batch()
     self.addArticle = addArticle4Fr()
     self.Home = queryArticleListOfHomePub4Fr()
     self.deleteArticle = deleteArticle4Fr()
     self.addComment = addComment4Fr()
     self.filepath = self.base.getProjectPath() + os.sep + "testPicture" + os.sep + "printerOrder" + os.sep + "printTargetImg" + os.sep + "printTargetImg.jpg"
     self.file = self.base.getProjectPath() + os.sep + "testPicture" + os.sep + "AITest" + os.sep + "queryAiNailSuit4Front" + os.sep + "Android" + os.sep + "queryAiNailSuit4Front.jpg"