MCPcopy Create free account
hub / github.com/django-haystack/django-haystack / test_count

Method test_count

test_haystack/test_managers.py:214–216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

212 pass
213
214 def test_count(self):
215 self.assertEqual(SearchQuerySet().count(), 23)
216 self.assertEqual(self.search_index.objects.count(), 23)
217
218 def test_best_match(self):
219 self.assertTrue(

Callers

nothing calls this directly

Calls 2

SearchQuerySetClass · 0.90
countMethod · 0.45

Tested by

no test coverage detected