summaryrefslogtreecommitdiff
path: root/python/tests
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-01-10 08:52:41 +0000
committerRobert Greig <rgreig@apache.org>2007-01-10 08:52:41 +0000
commita873c620e65e3060a5d29acce49f77b8213b4a06 (patch)
tree7dcb16cfe40dfbaa1587fad6e83a30fd1653851d /python/tests
parentf0675254ce88655bd97c7e8e4c214754b5dcd674 (diff)
downloadqpid-python-a873c620e65e3060a5d29acce49f77b8213b4a06.tar.gz
QPID-275 : (Patch supplied by Rob Godfrey) Fixes to allow broker to pass more of the Python tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@494769 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/exchange.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/exchange.py b/python/tests/exchange.py
index 121b47097d..56d6fa82e4 100644
--- a/python/tests/exchange.py
+++ b/python/tests/exchange.py
@@ -316,9 +316,9 @@ class MiscellaneousErrorsTests(TestBase):
self.channel.exchange_declare(exchange="test_different_declared_type_exchange", type="direct")
try:
self.channel.exchange_declare(exchange="test_different_declared_type_exchange", type="topic")
- self.fail("Expected 507 for redeclaration of exchange with different type.")
+ self.fail("Expected 530 for redeclaration of exchange with different type.")
except Closed, e:
- self.assertConnectionException(507, e.args[0])
+ self.assertConnectionException(530, e.args[0])
#cleanup
other = self.connect()
c2 = other.channel(1)