Exemple #1
0
 def spell_check(self, expected, string):
     result = commands.check_spelling(string, const.ID)
     self.assertEqual(expected, result)
Exemple #2
0
 def _check_spelling(self):
     self._warning_filter(
         commands.check_spelling(self._match.group(),
                                 self._token_lexer_type))