def testclean_text_3(self): "Test for _clean_non_chars (empty string)" s = "" result = findbestmatch._clean_non_chars(s) self.assertEqual('', result)
def testclean_text_1(self): "Test for _clean_non_chars (alphanumeric symbols)" s = "nothingremovedhere" result = findbestmatch._clean_non_chars(s) self.assertEqual(s, result)
def testclean_text_2(self): "Test for _clean_non_chars (special symbols)" s = "#$%#^$%&**" result = findbestmatch._clean_non_chars(s) self.assertEqual('', result)
def testclean_text_2(self): s = "#$%#^$%&**" result = findbestmatch._clean_non_chars(s) self.assertEqual('', result)
def testclean_text_3(self): s = "" result = findbestmatch._clean_non_chars(s) self.assertEqual('', result)
def testclean_text_1(self): s = "nothingremovedhere" result = findbestmatch._clean_non_chars(s) self.assertEqual(s, result)