'Verify that GeoNode works against any CSW'

def test_csw_base(self):

    csw = get_catalogue(skip_caps=False)
    for op in csw.catalogue.operations:
        for method in op.methods:
            self.assertEqual(csw.catalogue.url, method['url'], 'Expected    GeoNode    URL    to    be    equal    to    all    CSW    URLs')
    self.assertEqual(csw.catalogue.version, '2.0.2', 'Expected    "2.0.2"    as    a    supported    version')
    if (csw.catalogue.type != 'pycsw_local'):
        self.assertTrue(('Transaction' in [o.name for o in csw.catalogue.operations]), 'Expected    Transaction    to    be    a    supported    operation')
    for o in csw.catalogue.operations:
        if (o.name == 'GetRecords'):
            typenames = o.parameters['typeNames']['values']
    self.assertTrue(('gmd:MD_Metadata' in typenames), 'Expected    "gmd:MD_Metadata"    to    be    a    supported    typeNames    value')
    for o in csw.catalogue.operations:
        if (o.name == 'GetRecords'):
            outputschemas = o.parameters['outputSchema']['values']
    self.assertTrue(('http://www.isotc211.org/2005/gmd' in outputschemas), 'Expected    "http://www.isotc211.org/2005/gmd"    to    be    a    supported    outputSchema    value')
