summaryrefslogtreecommitdiff
path: root/python/tests/exchange.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-01-29 12:13:56 +0000
committerGordon Sim <gsim@apache.org>2007-01-29 12:13:56 +0000
commit0a9aac9472bc97bc42ec1219741a2e8593474677 (patch)
tree70b99562bc0f9dffe34fe2d4ef02ecfeaf70cfb8 /python/tests/exchange.py
parenta327ecc9225fb303f7fc1305d0e135f331dc7bce (diff)
downloadqpid-python-0a9aac9472bc97bc42ec1219741a2e8593474677.tar.gz
Fixes to tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501022 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests/exchange.py')
-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 143f46e4dc..54c462de24 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)