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

Method test_values

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

Source from the content-addressed store, hash-verified

241 self.assertEqual(sqs.spelling_suggestion(preferred_query=None), None)
242
243 def test_values(self):
244 sqs = self.search_index.objects.auto_query("test").values("id")
245 self.assertIsInstance(sqs, ValuesSearchQuerySet)
246
247 def test_valueslist(self):
248 sqs = self.search_index.objects.auto_query("test").values_list("id")

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.45
auto_queryMethod · 0.45

Tested by

no test coverage detected