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

Method test_none

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

Source from the content-addressed store, hash-verified

60 self.assertTrue(isinstance(self.search_queryset, SearchQuerySet))
61
62 def test_none(self):
63 self.assertTrue(
64 isinstance(self.search_index.objects.none(), EmptySearchQuerySet)
65 )
66
67 def test_filter(self):
68 sqs = self.search_index.objects.filter(content="foo")

Callers

nothing calls this directly

Calls 1

noneMethod · 0.45

Tested by

no test coverage detected