summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebleier <sbleier@ellingtoncms.com>2010-07-22 12:42:58 -0700
committersebleier <sbleier@ellingtoncms.com>2010-07-22 12:42:58 -0700
commita8f33f15f2b18f0d1a974bc60943ebdab8194143 (patch)
tree3ea5350a10bdf1c8b0558cc71ad94cb6dec0d241
parent7ecbe1fae24cfdd88ee75241bcc1a25819625728 (diff)
downloadkombu-a8f33f15f2b18f0d1a974bc60943ebdab8194143.tar.gz
Fixed mock Backend drain_events method to have the same number arguments as the real backend
-rw-r--r--kombu/tests/mocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kombu/tests/mocks.py b/kombu/tests/mocks.py
index 98d201cb..6962509b 100644
--- a/kombu/tests/mocks.py
+++ b/kombu/tests/mocks.py
@@ -115,7 +115,7 @@ class Backend(BaseBackend):
def create_channel(self, connection):
return connection.channel()
- def drain_events(self, connection, **kwargs):
+ def drain_events(self, **kwargs):
return "event"
def close_connection(self, connection):