#NEWLINE# def test_list_suites( self ) : #NEWLINE# #INDENT# num_tests = len ( list ( self . runnable_test_methods ( ) ) ) #NEWLINE# test_runner = TestRunner ( type ( self ) ) #NEWLINE# assert_equal ( test_runner . list_suites ( ) , { #NEWLINE# #INDENT# 'disabled' : '2 tests' , #NEWLINE# 'module-level' : ( '%d tests' % num_tests ) , #NEWLINE# 'class-level-suite' : ( '%d tests' % num_tests ) , #NEWLINE# 'crazy' : '1 tests' , #NEWLINE# #UNINDENT# } )