#NEWLINE# def test_finish_deployment( self ) : #NEWLINE# #INDENT# settings = wcloud_tasks . prepare_system . delay ( 'testuser@testuser.com' , 'admin' , 'Administrador' , 'password' , 'admin@admin.com' , self . wcloud_settings ) . get ( ) #NEWLINE# self . _settings = settings #NEWLINE# base_url = os . path . join ( wcloud_tasks . flask_app . config [ 'DIR_BASE' ] , settings [ Creation . BASE_URL ] ) #NEWLINE# creation_results = wcloud_tasks . create_weblab_environment . delay ( base_url , settings ) . get ( ) #NEWLINE# wcloud_tasks . configure_web_server . delay ( creation_results ) . get ( ) #NEWLINE# wcloud_tasks . register_and_start_instance . delay ( 'testuser@testuser.com' , self . wcloud_settings ) . get ( ) #NEWLINE# ( start_port , end_port ) = ( start_port [ 'start_port' ] , creation_results [ 'end_port' ] ) #NEWLINE# wcloud_tasks . finish_deployment . delay ( 'testuser@testuser.com' , settings , start_port , end_port , self . wcloud_settings ) . get ( )