You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2007/02/09 15:04:16 UTC

svn commit: r505300 - /incubator/qpid/branches/qpid.0-9/python/tests/exchange.py

Author: gsim
Date: Fri Feb  9 06:04:16 2007
New Revision: 505300

URL: http://svn.apache.org/viewvc?view=rev&rev=505300
Log:
Fix for topic tests. Content fields must be explicitly filled at present.


Modified:
    incubator/qpid/branches/qpid.0-9/python/tests/exchange.py

Modified: incubator/qpid/branches/qpid.0-9/python/tests/exchange.py
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/tests/exchange.py?view=diff&rev=505300&r1=505299&r2=505300
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/tests/exchange.py (original)
+++ incubator/qpid/branches/qpid.0-9/python/tests/exchange.py Fri Feb  9 06:04:16 2007
@@ -61,10 +61,10 @@
         self.assertPublishGet(q, ex, "a.x.b.x")
         self.assertPublishGet(q, ex, "a.x.x.b.x")
         # Shouldn't match
-        self.channel.message_transfer(destination=ex, routing_key="a.b")        
-        self.channel.message_transfer(destination=ex, routing_key="a.b.x.y")        
-        self.channel.message_transfer(destination=ex, routing_key="x.a.b.x")        
-        self.channel.message_transfer(destination=ex, routing_key="a.b")
+        self.channel.message_transfer(destination=ex, routing_key="a.b", body="")        
+        self.channel.message_transfer(destination=ex, routing_key="a.b.x.y", body="")        
+        self.channel.message_transfer(destination=ex, routing_key="x.a.b.x", body="")        
+        self.channel.message_transfer(destination=ex, routing_key="a.b", body="")
         self.assert_(q.empty())
 
     def verifyHeadersExchange(self, ex):