summaryrefslogtreecommitdiff
path: root/kombu/tests/test_common.py
diff options
context:
space:
mode:
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)