#NEWLINE# @ then ( 'click_action.action is {member_name}' ) #NEWLINE# def then_click_action_action_is_value( context , member_name ) : #NEWLINE# #INDENT# click_action = member_name . shape . click_action #NEWLINE# expected_value = getattr ( PP_ACTION , member_name ) #NEWLINE# assert ( click_action . action == expected_value )