Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/django-haystack/django-haystack
/ CaptureHandler
Class
CaptureHandler
test_haystack/test_models.py:16–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
15
16
class
CaptureHandler(std_logging.Handler):
17
logs_seen = []
18
19
def
emit(self, record):
20
CaptureHandler.logs_seen.append(record)
21
22
23
class
SearchResultTestCase(TestCase):
Callers
1
setUp
Method · 0.70
Calls
no outgoing calls
Tested by
1
setUp
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…