#NEWLINE# def test_loadClass( self ) : #NEWLINE# #INDENT# import sample #NEWLINE# suite = self . loader . loadClass ( sample . FooTest ) #NEWLINE# self . failUnlessEqual ( 2 , suite . countTestCases ( ) ) #NEWLINE# self . failUnlessEqual ( [ 'test_bar' , 'test_foo' ] , [ test . _testMethodName for test in suite . _tests ] )