#NEWLINE# def test_parse_v1_from_container( self ) : #NEWLINE# #INDENT# volume_from = VolumeFromSpec . parse ( 'foo:ro' , self . services , V1 ) #NEWLINE# assert ( volume_from == VolumeFromSpec ( 'foo' , 'ro' , 'container' ) )