def testBlankLineLastWord(self): poetry = Poetry() line = " " expected = "" results = poetry._lastWord(line) self.assertEqual(expected, results)
def testOnlyWordLastWord(self): poetry = Poetry() line = "problem" expected = "problem" results = poetry._lastWord(line) self.assertEqual(expected, results)