summaryrefslogtreecommitdiff
path: root/python/tests/exchange.py
diff options
context:
space:
mode:
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 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)