☰
Debian Codegraph
@
5.6.3-3
5.6.3-2
/
/
t
/
unit
/
worker
/
test_revoke.py
☽
☼
t/unit/worker/test_revoke.py
code
plain
raw
BSD-3-clause-ask-solem
2009-2016, Ask Solem and contributors.; 2012-2014, GoPivotal, Inc.
debian/copyright
1
from celery.worker import state
2
3
4
class test_revoked:
5
6
def test_is_working(self):
7
state.revoked.add('foo')
8
assert 'foo' in state.revoked
9
state.revoked.pop_value('foo')
10
assert 'foo' not in state.revoked