#NEWLINE# def test_check_version( self ) : #NEWLINE# #INDENT# retval = api . get_metadata_item ( self . fake_context , [ '2009-04-04' , 'meta-data' , 'block-device-mapping' ] , fakes . ID_OS_INSTANCE_1 , fakes . IP_NETWORK_INTERFACE_2 ) #NEWLINE# self . assertIsNotNone ( retval ) #NEWLINE# self . assertRaises ( exception . EC2MetadataNotFound , api . get_metadata_item , self . fake_context , [ '2007-08-29' , 'meta-data' , 'block-device-mapping' ] , fakes . ID_OS_INSTANCE_1 , fakes . IP_NETWORK_INTERFACE_2 )