Esempio n. 1
0
 def setUp(self):
     self.config = systemSetting()  # 系統參數
     self.__http = HttpRequest()
     self.user = User(self.__http)
     self.memberSearch = member_and_agent.MemberSearch(self.__http)  # 會員搜尋
     self.memberDetail = member_and_agent.MemberDetail(self.__http)  # 會員詳細
     self.memberTags = member_and_agent.MemberTags(self.__http)  # 會員標籤
     self.home = Home(self.__http)
     self.user.login()
Esempio n. 2
0
 def Master_login(cls):
     cls.__http = HttpRequest()
     cls.user = User(cls.__http)
     cls.memberCreate = member_and_agent.MemberCreate(cls.__http)
     cls.user.login()
     cls.memberDetail = member_and_agent.MemberDetail(cls.__http)  # 會員詳細資料
     cls.verifyWithdraw = account_management.VerifyWithdraw(
         cls.__http)  # 取款審核
     cls.memberTransaction = account_management.MemberTransaction(
         cls.__http)  # 交易紀錄
 def setUp(self):
     self.config = systemSetting()  # 系統參數
     self.__http = HttpRequest()
     self.user = User(self.__http)
     self.memberDetail = member_and_agent.MemberDetail(self.__http)
     self.searchMember = member_and_agent.MemberSearch(self.__http)
     self.deposit = member_and_agent.MemberDeposit(self.__http)
     self.withDraw = member_and_agent.MemberWithdraw(self.__http)
     self.AgentDetail = member_and_agent.AgentDetail(self.__http)
     self.user.login()
 def Master_login(cls):
     cls.__http = HttpRequest()
     cls.user = User(cls.__http)
     cls.memberCreate = member_and_agent.MemberCreate(cls.__http)
     cls.user.login()
     cls.memberVerify = member_and_agent.MemberVerifyPage(
         cls.__http)  # 會員註冊審核
     cls.searchMember = member_and_agent.MemberSearch(cls.__http)  # 會員搜尋
     cls.memberDetail = member_and_agent.MemberDetail(cls.__http)  # 會員詳細資料
     cls.memberTags = member_and_agent.MemberTags(cls.__http)  # 會員標籤
Esempio n. 5
0
 def Master_login(cls):
     cls.__http = HttpRequest()
     cls.user = User(cls.__http)
     cls.verifyWithdraw = account_management.VerifyWithdraw(cls.__http)
     cls.memberDetail = member_and_agent.MemberDetail(cls.__http)  # 會員詳細資料
     cls.user.login()