test_messaging.py 346 B

1234567891011121314
  1. from __future__ import absolute_import, unicode_literals
  2. import pytest
  3. from celery import messaging
  4. @pytest.mark.usefixtures('depends_on_current_app')
  5. class test_compat_messaging_module:
  6. def test_get_consume_set(self):
  7. conn = messaging.establish_connection()
  8. messaging.get_consumer_set(conn).close()
  9. conn.close()