Exemplo n.º 1
0
 def test_ignore_hints(self):
     """Test that mIRC lexer ignores any provided hints"""
     for inStr, outList in self.test_pairs.items():
         self.assertEqual(mirc_lexer(inStr, self.bad_hints), outList)
Exemplo n.º 2
0
 def test_basic_functionality(self):
     """Test basic mIRC lexer functionality"""
     for inStr, outList in self.test_pairs.items():
         self.assertEqual(mirc_lexer(inStr, {}), outList)