#NEWLINE# @ mock . patch ( 'rally.verification.tempest.config.TempestConfig._get_service_url' , return_value = 'test_url' ) #NEWLINE# def test__configure_boto( self , mock__get_service_url ) : #NEWLINE# #INDENT# self . tempest_conf . _configure_boto ( ) #NEWLINE# expected = ( ( 'ec2_url' , 'test_url' ) , ( 's3_url' , 'test_url' ) , ( 'http_socket_timeout' , '30' ) , ( 's3_materials_path' , os . path . join ( result . tempest_conf . data_dir , 's3materials' ) ) ) #NEWLINE# result = self . tempest_conf . conf . items ( 'boto' ) #NEWLINE# for item in expected : #NEWLINE# #INDENT# self . assertIn ( item , result )