def test_trim_2 (self) : result = trim(None) self.assert_(result == "")
def test_trim_3 (self) : mystring = "I hate M&M" result = trim(mystring) self.assert_(result == "I hate M&M")
def test_trim_1 (self) : mystring = "" result = trim(mystring) self.assert_(result == "")