diff options
| author | Gordon Sim <gsim@apache.org> | 2008-04-24 21:05:06 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-04-24 21:05:06 +0000 |
| commit | 96f12949244b5af2b717156823309b66fe7bfb84 (patch) | |
| tree | ca1261bbf1306794cc602df9a2e24630a416fd1f | |
| parent | 05dff9b52e9e1c0e6e361c68f4a99c3c8f7ee62b (diff) | |
| download | qpid-python-96f12949244b5af2b717156823309b66fe7bfb84.tar.gz | |
Correct expected error codes for final 0-10 spec
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651421 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | python/tests_0-10/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests_0-10/message.py b/python/tests_0-10/message.py index ac915f7863..c54622e091 100644 --- a/python/tests_0-10/message.py +++ b/python/tests_0-10/message.py @@ -167,7 +167,7 @@ class MessageTests(TestBase010): 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 @@ class MessageTests(TestBase010): 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): """ |
