From a8f33f15f2b18f0d1a974bc60943ebdab8194143 Mon Sep 17 00:00:00 2001 From: sebleier Date: Thu, 22 Jul 2010 12:42:58 -0700 Subject: [PATCH] Fixed mock Backend drain_events method to have the same number arguments as the real backend --- kombu/tests/mocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):