Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/django-haystack/django-haystack
/ test_latest
Method
test_latest
test_haystack/test_managers.py:223–226 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
221
)
222
223
def
test_latest(self):
224
self.assertTrue(
225
isinstance(self.search_index.objects.latest(
"pub_date"
), SearchResult)
226
)
227
228
def
test_more_like_this(self):
229
mock = MockModel()
Callers
nothing calls this directly
Calls
1
latest
Method · 0.45
Tested by
no test coverage detected