Exemplo n.º 1
0
 def testclean_text_3(self):
     "Test for _clean_non_chars (empty string)"
     s = ""
     result =  findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 2
0
 def testclean_text_1(self):
     "Test for _clean_non_chars (alphanumeric symbols)"
     s = "nothingremovedhere"
     result =  findbestmatch._clean_non_chars(s)
     self.assertEqual(s, result)
Exemplo n.º 3
0
 def testclean_text_2(self):
     "Test for _clean_non_chars (special symbols)"
     s = "#$%#^$%&**"
     result =  findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 4
0
 def testclean_text_2(self):
     s = "#$%#^$%&**"
     result =  findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 5
0
 def testclean_text_3(self):
     s = ""
     result =  findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 6
0
 def testclean_text_3(self):
     "Test for _clean_non_chars (empty string)"
     s = ""
     result = findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 7
0
 def testclean_text_1(self):
     s = "nothingremovedhere"
     result =  findbestmatch._clean_non_chars(s)
     self.assertEqual(s, result)
Exemplo n.º 8
0
 def testclean_text_2(self):
     "Test for _clean_non_chars (special symbols)"
     s = "#$%#^$%&**"
     result = findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 9
0
 def testclean_text_1(self):
     "Test for _clean_non_chars (alphanumeric symbols)"
     s = "nothingremovedhere"
     result = findbestmatch._clean_non_chars(s)
     self.assertEqual(s, result)
Exemplo n.º 10
0
 def testclean_text_3(self):
     s = ""
     result = findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 11
0
 def testclean_text_2(self):
     s = "#$%#^$%&**"
     result = findbestmatch._clean_non_chars(s)
     self.assertEqual('', result)
Exemplo n.º 12
0
 def testclean_text_1(self):
     s = "nothingremovedhere"
     result = findbestmatch._clean_non_chars(s)
     self.assertEqual(s, result)