def set_up(self): with allure.step("send an admin login request"): admin_success_login = SendRequest( Login.get_test_case("test_login_with_admin_success")) with allure.step("Get admin token"): TestLogOutWithAdminSuccess.admin_token = admin_success_login.get_token()
def set_up(self): with allure.step("Send an admin login request"): admin_success_login = SendRequest( Login.get_test_case("test_login_with_admin_success")) with allure.step("Get admin login token"): TestAdminStatusLoggedIn.admin_token = admin_success_login.get_token( )