#NEWLINE# def test_write_sheet_views5( self ) : #NEWLINE# #INDENT# 'Test the _write_sheet_views() method with split panes' #NEWLINE# self . worksheet . select ( ) #NEWLINE# self . worksheet . split_panes ( 0 , 17.57 , 0 , 2 ) #NEWLINE# self . worksheet . _write_sheet_views ( ) #NEWLINE# exp = '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><pane xSplit="2310" topLeftCell="C1"/><selection pane="topRight" activeCell="C1" sqref="C1"/></sheetView></sheetViews>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , exp )