#NEWLINE# def test_set_width( self ) : #NEWLINE# #INDENT# window = self . session . new_window ( window_name = 'test_set_width' ) #NEWLINE# pane2 = window . split_window ( ) #NEWLINE# window . select_layout ( 'main-vertical' ) #NEWLINE# pane1 = window . attached_pane ( ) #NEWLINE# pane1_width = pane1 [ 'pane_width' ] #NEWLINE# pane1 . set_width ( 10 ) #NEWLINE# self . assertNotEqual ( pane1 [ 'pane_width' ] , pane1_width ) #NEWLINE# self . assertEqual ( int ( pane1 [ 'pane_width' ] ) , 10 ) #NEWLINE# pane1 . reset ( )