def testFormat(self): testTask = Task("this is the {} description", 2) self.assertEqual(testTask.toDescription(), "this is the 2 description")