#NEWLINE# def test_postCaseCleanupNoErrors( self ) : #NEWLINE# #INDENT# '\n        The post-case cleanup method will return True and not call C{addError}\n        on the result if there are no pending calls.\n        ' #NEWLINE# reactor = StubReactor ( [ ] ) #NEWLINE# test = object ( ) #NEWLINE# reporter = StubErrorReporter ( ) #NEWLINE# jan = _Janitor ( test , reporter , reactor = test ) #NEWLINE# self . assertTrue ( jan . postCaseCleanup ( ) ) #NEWLINE# self . assertEquals ( reporter . errors , [ ] )