def test_1030(self): """count(): Query returns valid count""" solr_client = d1_client.solr_client.SolrClient(CN_RESPONSES_BASE_URL) obj_count = solr_client.count(q='id:abc*') self.sample.assert_equals(obj_count, 'count')
def test_1040(self): """count(): Query returns valid count.""" solr_client = d1_client.solr_client.SolrClient(CN_RESPONSES_BASE_URL) obj_count = solr_client.count(**self.span_limit(SHORT_SPAN, q='id:*')) self.sample.assert_equals(obj_count, 'count')