☰
Debian Codegraph
@
5.6.3-3
5.6.3-2
/
/
t
/
unit
/
utils
/
test_nodenames.py
☽
☼
t/unit/utils/test_nodenames.py
code
plain
raw
BSD-3-clause-ask-solem
2009-2016, Ask Solem and contributors.; 2012-2014, GoPivotal, Inc.
debian/copyright
1
from kombu import Queue
2
3
from celery.utils.nodenames import worker_direct
4
5
6
class test_worker_direct:
7
8
def test_returns_if_queue(self):
9
q = Queue('foo')
10
assert worker_direct(q) is q