def testTotalCount(self): c = Classifier(getwords) c.incc("Bad") c.incc("Bad") c.incc("Good") self.assertEqual(c.totalcount(), 3)