/usr/lib/python2.7/dist-packages/celery/tests/compat_modules/test_messaging.py is in python-celery 3.1.23-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | from __future__ import absolute_import
from celery import messaging
from celery.tests.case import AppCase, depends_on_current_app
@depends_on_current_app
class test_compat_messaging_module(AppCase):
def test_get_consume_set(self):
conn = messaging.establish_connection()
messaging.get_consumer_set(conn).close()
conn.close()
|