Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ test_save
Method
test_save
t/unit/worker/test_state.py:128–132 ·
view source on GitHub ↗
(self, p)
Source
from the content-addressed store, hash-verified
126
assert p.db.filename == p.filename
127
128
def
test_save(self, p):
129
p.db[
'foo'
] =
'bar'
130
p.save()
131
assert p.db.in_sync
132
assert p.db.closed
133
134
def
add_revoked(self, p, *ids):
135
for
id in ids:
Callers
nothing calls this directly
Calls
1
save
Method · 0.45
Tested by
no test coverage detected