Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ mocked_tick
Method
mocked_tick
tests/utils_tests/test_autoreload.py:756–757 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
754
755
def
test_run_loop_catches_stopiteration(self):
756
def
mocked_tick():
757
yield
758
759
with
mock.patch.object(self.reloader,
"tick"
, side_effect=mocked_tick)
as
tick:
760
self.reloader.run_loop()
Callers
nothing calls this directly
Calls
1
stop
Method · 0.45
Tested by
no test coverage detected