#NEWLINE# def test_can_get_handlers_with_blacklist( self ) : #NEWLINE# #INDENT# ctx = mock . Mock ( config = mock . Mock ( UPLOAD_ENABLED = False , USE_BLACKLIST = True ) ) #NEWLINE# app = ThumborServiceApp ( ctx ) #NEWLINE# handlers = app . get_handlers ( ) #NEWLINE# expect ( handlers ) . to_length ( 3 )