<s> from circus . tests . support import TestCircus , EasyTestSuite <EOL> from circus . commands . list import List <EOL> class ListCommandTest ( TestCircus ) : <EOL> def test_list_watchers ( self ) : <EOL> cmd = List ( ) <EOL> self . assertTrue ( <EOL> cmd . console_msg ( { '<STR_LIT>' : [ '<STR_LIT:foo>' , '<STR_LIT:bar>' ] } ) , <EOL> '<STR_LIT>' ) <EOL> def test_list_processors ( self ) : <EOL> cmd = List ( ) <EOL> self . assertTrue ( <EOL> cmd . console_msg ( { '<STR_LIT>' : [ <NUM_LIT:12> , <NUM_LIT> ] } ) , '<STR_LIT>' ) <EOL> def test_list_error ( self ) : <EOL> cmd = List ( ) <EOL> self . assertTrue ( "<STR_LIT:error>" in cmd . console_msg ( { '<STR_LIT:foo>' : '<STR_LIT:bar>' } ) ) <EOL> test_suite = EasyTestSuite ( __name__ ) </s>
