#NEWLINE# def test_write_sheet_views8( self ) : #NEWLINE# #INDENT# 'Test the _write_sheet_views() method with split panes' #NEWLINE# self . worksheet . select ( ) #NEWLINE# self . worksheet . split_panes ( 45 , 54.14 , 3 , 6 ) #NEWLINE# self . worksheet . _write_sheet_views ( ) #NEWLINE# exp = '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><pane xSplit="6150" ySplit="1200" topLeftCell="G4"/><selection pane="topRight" activeCell="G1" sqref="G1"/><selection pane="bottomLeft" activeCell="A4" sqref="A4"/><selection pane="bottomRight" activeCell="G4" sqref="G4"/></sheetView></sheetViews>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , exp )