From 13fc9f251a026778831036068e7be45194b88c5a Mon Sep 17 00:00:00 2001
From: Thomas Herve <thomas.herve@enovance.com>
Date: Thu, 26 Jun 2014 17:21:12 +0200
Subject: [PATCH] Fix info method of ListenerSetupMixin

The listener of ListenerSetupMixin had an incorrect info implementation
that couldn't be called properly. This patch fixes the method signature.

Change-Id: I33153f04ce23474cfaffaa1db20b8582befa324d
---
 tests/notify/test_listener.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/notify/test_listener.py b/tests/notify/test_listener.py
index 2b796bfd2..3219f8d7a 100644
--- a/tests/notify/test_listener.py
+++ b/tests/notify/test_listener.py
@@ -35,7 +35,7 @@ class ListenerSetupMixin(object):
             self._listener = messaging.get_notification_listener(
                 transport, targets, endpoints + [self], allow_requeue=True)
 
-        def info(self, ctxt, publisher_id, event_type, payload):
+        def info(self, ctxt, publisher_id, event_type, payload, metadata):
             self._received_msgs += 1
             if self._expect_messages == self._received_msgs:
                 # Check start() does nothing with a running listener