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