Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ test_clear
Method
test_clear
t/unit/tasks/test_result.py:593–597 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
591
x.update([self.app.AsyncResult(
'2'
)])
592
593
def
test_clear(self):
594
x = self.app.ResultSet([])
595
r = x.results
596
x.clear()
597
assert x.results is r
598
599
600
class
MockAsyncResultFailure(AsyncResult):
Callers
nothing calls this directly
Calls
2
clear
Method · 0.95
ResultSet
Method · 0.80
Tested by
no test coverage detected