#NEWLINE# def test_unstartedClose( self ) : #NEWLINE# #INDENT# "\n        If L{ConnectionPool.close} is called without L{ConnectionPool.start}\n        having been called, the pool's startup event is cancelled.\n        " #NEWLINE# reactor = EventReactor ( False ) #NEWLINE# pool = ConnectionPool ( 'twisted.test.test_adbapi' , cp_reactor = reactor ) #NEWLINE# self . assertEqual ( reactor . triggers , [ ( 'after' , 'startup' , pool . _start ) ] ) #NEWLINE# pool . close ( ) #NEWLINE# self . assertFalse ( reactor . triggers )