#NEWLINE# def test_press_log( self ) : #NEWLINE# #INDENT# e = Event ( 1 , 2 ) #NEWLINE# self . mode . press ( e ) #NEWLINE# assert ( e . mode . _event_x == 1 ) #NEWLINE# assert ( self . mode . _event_y == 2 )