Beispiel #1
0
 def test_sanitized_trim(self):
     '''
     Test sanitized input for trimming
     '''
     value = ' sample '
     response = clean.trim(value)
     assert response == 'sample'
     assert type(response) == text
 def test_sanitized_trim(self):
     """
     Test sanitized input for trimming
     """
     value = " sample "
     response = clean.trim(value)
     assert response == "sample"
     assert type(response) == str