def test_strip_text_no_whitespace(self): result = strutils.strip('abcd') self.assertEquals(result, 'abcd', 'Expected no change.')
def test_strip_text_has_whitespace(self): result = strutils.strip(' abcd \t\n ') self.assertEquals(result, 'abcd')
def test_strip_none(self): result = strutils.strip(None) self.assertIsNone(result, 'Expected None.')