Example #1
0
 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')
Example #2
0
 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')
Example #3
0
 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')