def testAddSeconds(self): tis = TimeInSeconds("2:20") assert tis.addSeconds(20) == 160 assert tis.inMinutesAndSeconds() == "2:40"