示例#1
0
文件: actions.py 项目: AnithaT/eden
 def login(self, username, password, reveal=True):
     """
         login to the system using the name provided
         @param username: the username to be used
         @param password: the password of the user
         @param reveal:   show the password on any error message
     """
     self.startCoverage("login")
     a = Authenticate(self.sel)
     a.login(self, username, password, reveal);
     self.endCoverage()
示例#2
0
文件: actions.py 项目: AnithaT/eden
 def logout(self):
     """ logout of the system """
     self.startCoverage("logout")
     a = Authenticate(self.sel)
     a.logout(self)
     self.endCoverage()