Fixed mock Backend drain_events method to have the same number arguments as the real backend

This commit is contained in:
sebleier 2010-07-22 12:42:58 -07:00
parent 7ecbe1fae2
commit a8f33f15f2
1 changed files with 1 additions and 1 deletions

View File

@ -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):