#NEWLINE# def test_bootstrap_worker_calls_paster_bootstrap( self , paster ) : #NEWLINE# #INDENT# sender = mock . Mock ( spec = [ 'app' ] ) #NEWLINE# celery . bootstrap_worker ( sender ) #NEWLINE# assert ( paster . bootstrap . call_count == 1 )