#NEWLINE# def test_error( self ) : #NEWLINE# #INDENT# self . failIf ( detests . DeferredSetUpError . testCalled ) #NEWLINE# ( result , suite ) = self . _loadSuite ( detests . DeferredSetUpError ) #NEWLINE# suite ( result ) #NEWLINE# self . failIf ( result . wasSuccessful ( ) ) #NEWLINE# self . failUnlessEqual ( result . testsRun , 1 ) #NEWLINE# self . failUnlessEqual ( len ( result . failures ) , 0 ) #NEWLINE# self . failUnlessEqual ( len ( result . errors ) , 1 ) #NEWLINE# self . failIf ( detests . DeferredSetUpError . testCalled )