Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ test_cancel
Method
test_cancel
t/unit/utils/test_timer2.py:122–126 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
120
t._do_enter.assert_called_with(
'enter_after'
)
121
122
def
test_cancel(self):
123
t = timer2.Timer()
124
tref = Mock()
125
t.cancel(tref)
126
tref.cancel.assert_called_with()
Callers
nothing calls this directly
Calls
1
cancel
Method · 0.95
Tested by
no test coverage detected