MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / setUp

Method setUp

test_haystack/test_query.py:104–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102 super().setUpClass()
103
104 def setUp(self):
105 super().setUp()
106 self.bsq = BaseSearchQuery()
107
108 def test_get_count(self):
109 self.bsq.add_filter(SQ(foo="bar"))

Callers

nothing calls this directly

Calls 2

BaseSearchQueryClass · 0.90
setUpMethod · 0.45

Tested by

no test coverage detected