#NEWLINE# def test_write_page_margins_bottom( self ) : #NEWLINE# #INDENT# 'Test the _write_page_margins() method with bottom margin' #NEWLINE# self . worksheet . set_margins ( bottom = 0.5 ) #NEWLINE# self . worksheet . _write_page_margins ( ) #NEWLINE# exp = '<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.5" header="0.3" footer="0.3"/>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , self )