'Verify that GeoNode CSW can handle search counting'

def test_csw_search_count(self):

    csw = get_catalogue(skip_caps=False)
    csw.catalogue.getrecords(typenames='csw:Record')
    self.assertEqual(csw.catalogue.results['matches'], 16, 'Expected    16    records')
    csw.catalogue.getrecords(typenames='gmd:MD_Metadata')
    self.assertEqual(csw.catalogue.results['matches'], 16, 'Expected    16    records    against    ISO    typename')
