mirror of https://github.com/celery/kombu.git
Fixed mock Backend drain_events method to have the same number arguments as the real backend
This commit is contained in:
parent
7ecbe1fae2
commit
a8f33f15f2
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue