#NEWLINE# def test_todo( self ) : #NEWLINE# #INDENT# result = self . runTest ( 'test_expectedFailure' ) #NEWLINE# self . failUnless ( result . wasSuccessful ( ) ) #NEWLINE# self . failUnlessEqual ( result . testsRun , 1 ) #NEWLINE# self . failUnlessEqual ( len ( result . errors ) , 0 ) #NEWLINE# self . failUnlessEqual ( len ( self . failures ) , 0 ) #NEWLINE# self . failUnlessEqual ( len ( result . expectedFailures ) , 1 )