Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/django-haystack/django-haystack
/ clear
Method
clear
test_haystack/mocks.py:62–64 ·
view source on GitHub ↗
(self, models=None, commit=True)
Source
from the content-addressed store, hash-verified
60
del MOCK_INDEX_DATA[get_identifier(obj)]
61
62
def
clear(self, models=None, commit=True):
63
global MOCK_INDEX_DATA
64
MOCK_INDEX_DATA = {}
65
66
@log_query
67
def
search(self, query_string, **kwargs):
Callers
15
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
test_run
Method · 0.45
test_log_query
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
Calls
no outgoing calls
Tested by
15
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
test_run
Method · 0.36
test_log_query
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36