'Verify that GeoNode CSW can handle ISO metadata with FGDC outputSchema'

def test_csw_outputschema_fgdc(self):

    csw = get_catalogue()
    if (csw.catalogue.type in ['pycsw_http', 'pycsw_local']):
        csw.catalogue.getrecords(typenames='gmd:MD_Metadata', keywords=['san_andres_y_providencia_location'], outputschema='http://www.opengis.net/cat/csw/csdgm')
        record = csw.catalogue.records.values()[0]
        self.assertEqual(record.idinfo.citation.citeinfo['title'], 'San    Andres    Y    Providencia    Location', 'Expected    a    specific    title    in    FGDC    model')
        self.assertEqual(record.idinfo.descript.abstract, 'No    abstract    provided', 'Expected    a    specific    abstract    in    FGDC    model')
