#NEWLINE# def test_write_sheet_views4( self ) : #NEWLINE# #INDENT# 'Test the _write_sheet_views() method with selection set' #NEWLINE# self . worksheet . select ( ) #NEWLINE# self . worksheet . set_selection ( 'D3' ) #NEWLINE# self . worksheet . _write_sheet_views ( ) #NEWLINE# exp = '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="D3" sqref="D3"/></sheetView></sheetViews>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , got )