'Test the _write_sheet_pr() method'

def test_write_sheet_pr_fit_to_page(self):

    self.worksheet.fit_to_pages(1, 1)
    self.worksheet._write_sheet_pr()
    exp = '<sheetPr><pageSetUpPr    fitToPage="1"/></sheetPr>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
