def login_company_admin(self, username=COMPANYADMIN_ACCOUNT): authority = Authority() password = authority.get_user_info(email=COMPANYADMIN_ACCOUNT, column="password") self.login(username=COMPANYADMIN_ACCOUNT, password=password)
def login_application_user(self, username=APPLICATION_USER_ACCOUNT): authority = Authority() password = authority.get_user_info(email=APPLICATION_USER_ACCOUNT, column="password") self.login(username=APPLICATION_USER_ACCOUNT, password=password)