Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

hemamaps / celery   python

Repository URL to install this package:

Version: 3.1.23 

/ tests / compat_modules / test_messaging.py

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()