'Test get_worksheet_by_name()'

def test_get_worksheet_by_name01(self):

    fh = StringIO()
    workbook = Workbook()
    workbook._set_filehandle(fh)
    exp = workbook.add_worksheet()
    got = workbook.get_worksheet_by_name('Sheet1')
    workbook.fileclosed = 1
    self.assertEqual(got, exp)
