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 2008/04/24 23:05:10 UTC

svn commit: r651421 - /incubator/qpid/trunk/qpid/python/tests_0-10/message.py

Author: gsim
Date: Thu Apr 24 14:05:06 2008
New Revision: 651421

URL: http://svn.apache.org/viewvc?rev=651421&view=rev
Log:
Correct expected error codes for final 0-10 spec


Modified:
    incubator/qpid/trunk/qpid/python/tests_0-10/message.py

Modified: incubator/qpid/trunk/qpid/python/tests_0-10/message.py
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/tests_0-10/message.py?rev=651421&r1=651420&r2=651421&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/python/tests_0-10/message.py (original)
+++ incubator/qpid/trunk/qpid/python/tests_0-10/message.py Thu Apr 24 14:05:06 2008
@@ -167,7 +167,7 @@
             session.message_subscribe(destination="second", queue="test-queue-2")
             self.fail("Expected consume request to fail due to previous exclusive consumer")
         except SessionException, e:
-            self.assertEquals(403, e.args[0].error_code)
+            self.assertEquals(405, e.args[0].error_code)
 
     def test_consume_exclusive2(self):
         """
@@ -180,7 +180,7 @@
             session.message_subscribe(destination="second", queue="test-queue-2", exclusive=True)
             self.fail("Expected exclusive consume request to fail due to previous consumer")
         except SessionException, e:
-            self.assertEquals(403, e.args[0].error_code)
+            self.assertEquals(405, e.args[0].error_code)
 
     def test_consume_queue_not_found(self):
         """