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()
def logout(self): """ logout of the system """ self.startCoverage("logout") a = Authenticate(self.sel) a.logout(self) self.endCoverage()