def test_whitespaces(self):
     """This method should work with leading and trailing whitespaces"""
     self.assertEqual(remove_surrounding_whitespaces(" hey yo  "), "hey yo")
Exemple #2
0
def test_whitespaces():
    """This method should work with leading and trailing whitespaces"""
    eq_(remove_surrounding_whitespaces(" hey yo  "), "hey yo")