#NEWLINE# def test_parse_instance_info_valid_ephemeral_gb( self ) : #NEWLINE# #INDENT# ephemeral_gb = 10 #NEWLINE# ephemeral_fmt = 'test-fmt' #NEWLINE# info = dict ( INST_INFO_DICT ) #NEWLINE# info [ 'ephemeral_gb' ] = ephemeral_gb #NEWLINE# info [ 'ephemeral_format' ] = ephemeral_fmt #NEWLINE# node = obj_utils . create_test_node ( self . context , instance_info = info , driver_internal_info = DRV_INTERNAL_INFO_DICT ) #NEWLINE# data = utils . parse_instance_info ( node ) #NEWLINE# self . assertEqual ( ephemeral_gb , data . get ( 'ephemeral_gb' ) ) #NEWLINE# self . assertEqual ( ephemeral_fmt , data . get ( 'ephemeral_format' ) )