#NEWLINE# def start( port , root_directory , bucket_depth = 0 ) : #NEWLINE# #INDENT# 'Starts the mock S3 server on the given port at the given path.' #NEWLINE# application = S3Application ( root_directory , bucket_depth ) #NEWLINE# http_server = httpserver . HTTPServer ( port ) #NEWLINE# http_server . listen ( port ) #NEWLINE# ioloop . IOLoop . current ( ) . start ( )