diff options
author | sebleier <sbleier@ellingtoncms.com> | 2010-07-22 12:42:58 -0700 |
---|---|---|
committer | sebleier <sbleier@ellingtoncms.com> | 2010-07-22 12:42:58 -0700 |
commit | a8f33f15f2b18f0d1a974bc60943ebdab8194143 (patch) | |
tree | 3ea5350a10bdf1c8b0558cc71ad94cb6dec0d241 | |
parent | 7ecbe1fae24cfdd88ee75241bcc1a25819625728 (diff) | |
download | kombu-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.py | 2 |
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): |