summaryrefslogtreecommitdiff
path: root/kombu/tests/test_common.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2013-10-02 14:48:30 +0100
committerAsk Solem <ask@celeryproject.org>2013-10-02 14:48:34 +0100
commitd96241454e4b5afd0f217fa48a95bd9dea016545 (patch)
tree13dc0c14d0c223e7dfb64336d8c17f9f3f1b5ce8 /kombu/tests/test_common.py
parent69ecc1ac3e5b65c67b4d6d01b74d6826ad97e2fa (diff)
downloadkombu-d96241454e4b5afd0f217fa48a95bd9dea016545.tar.gz
Fixes typo
Diffstat (limited to 'kombu/tests/test_common.py')
-rw-r--r--kombu/tests/test_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kombu/tests/test_common.py b/kombu/tests/test_common.py
index 7cd1d8b0..1f918297 100644
--- a/kombu/tests/test_common.py
+++ b/kombu/tests/test_common.py
@@ -80,7 +80,7 @@ class test_maybe_declare(Case):
maybe_declare(entity, channel)
self.assertEqual(entity.declare.call_count, 1)
- self.assertIn(entity, channel.connection.client.declared_entities)
+ self.assertIn(hash(entity), channel.connection.client.declared_entities)
maybe_declare(entity, channel)
self.assertEqual(entity.declare.call_count, 1)