def test_clean_text(self): text = """ This is a\t test of the text cleaner. This won't be included. """ result = cli_tools._clean_text(text) self.assertEqual(result, "This is a test of the text cleaner.")
def test_clean_text_blank(self): result = cli_tools._clean_text(None) self.assertEqual(result, '')