def testNewSheet(self): newName = 'test sheet' sheet = Sheet.newSheet(newName, 0) self.assertEqual(sheet.getName(), newName)
def testNewSheetWithExistingName(self): with self.assertRaises(RuntimeException): Sheet.newSheet(MASTER_LIST_SHEET_NAME, 0)