#NEWLINE# def test_parse_instance_info_valid_ephemeral_missing_format( 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' ] = None #NEWLINE# self . config ( default_ephemeral_format = ephemeral_fmt , group = 'pxe' ) #NEWLINE# node = obj_utils . create_test_node ( self . context , instance_info = info , driver_internal_info = DRV_INTERNAL_INFO_DICT ) #NEWLINE# instance_info = utils . parse_instance_info ( node ) #NEWLINE# self . assertEqual ( ephemeral_fmt , instance_info [ 'ephemeral_format' ] )