From 8beb2eeac1d9910f23bc574e3e5a10b89affd31a Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Mon, 20 Jun 2016 10:57:42 -0700 Subject: [PATCH] Renames test_entities -> test_entity --- kombu/tests/{test_entities.py => test_entity.py} | 7 +++++++ 1 file changed, 7 insertions(+) rename kombu/tests/{test_entities.py => test_entity.py} (98%) diff --git a/kombu/tests/test_entities.py b/kombu/tests/test_entity.py similarity index 98% rename from kombu/tests/test_entities.py rename to kombu/tests/test_entity.py index 1346122d..8a15f5b8 100644 --- a/kombu/tests/test_entities.py +++ b/kombu/tests/test_entity.py @@ -3,6 +3,7 @@ from __future__ import absolute_import, unicode_literals import pickle from kombu import Connection, Exchange, Producer, Queue, binding +from kombu.abstract import MaybeChannelBound from kombu.exceptions import NotBoundError from kombu.serialization import registry @@ -406,3 +407,9 @@ class test_Queue(Case): b = Queue('foo', self.exchange, 'foo') self.assertIn('foo', repr(b)) self.assertIn('Queue', repr(b)) + + +class test_MaybeChannelBound(Case): + + def test_repr(self): + self.assertTrue(repr(MaybeChannelBound()))