#NEWLINE# def test_set_height( self ) : #NEWLINE# #INDENT# window = self . session . new_window ( window_name = 'test_set_height' ) #NEWLINE# pane2 = window . split_window ( ) #NEWLINE# pane1 = window . attached_pane ( ) #NEWLINE# pane1_height = pane1 [ 'pane_height' ] #NEWLINE# pane1 . set_height ( 2 ) #NEWLINE# self . assertNotEqual ( window [ 'pane_height' ] , pane1_height ) #NEWLINE# self . assertEqual ( int ( pane1 [ 'pane_height' ] ) , 2 )