예제 #1
0
 def setUpClass(cls):
     """
     Add some custom terminals.
     """
     Expression.clear_terminals()
     Expression.subscribe_terminal('foo')
     Expression.subscribe_terminal('bar')
예제 #2
0
 def tearDownClass(cls):
     """
     Clear the terminals.
     """
     Expression.clear_terminals()