diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2012-02-20 22:08:34 +0000 | 
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2012-02-20 22:08:34 +0000 | 
| commit | cd3dac0e802c33169cc9af323a8294631750e2f3 (patch) | |
| tree | 25dd95e0d111da5a6aa901bd23de208292168441 | |
| parent | 64e868ab7b5355981b715395cbccfc7ca4ffaa46 (diff) | |
| download | qpid-python-cd3dac0e802c33169cc9af323a8294631750e2f3.tar.gz | |
QPID-3589 : Python tests fails against Java broker due to difference in exception message text from CPP broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291482 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | java/test-profiles/python_tests/Java010PythonExcludes | 3 | ||||
| -rw-r--r-- | python/qpid/tests/messaging/endpoints.py | 2 | 
2 files changed, 1 insertions, 4 deletions
diff --git a/java/test-profiles/python_tests/Java010PythonExcludes b/java/test-profiles/python_tests/Java010PythonExcludes index 608d79ba56..488201eb6c 100644 --- a/java/test-profiles/python_tests/Java010PythonExcludes +++ b/java/test-profiles/python_tests/Java010PythonExcludes @@ -51,9 +51,6 @@ qpid_tests.broker_0_10.message.MessageTests.test_ack  qpid_tests.broker_0_10.message.MessageTests.test_acquire  qpid_tests.broker_0_10.message.MessageTests.test_acquire_with_no_accept_and_credit_flow -#QPID-3589 Difference in exception text message causes test to fail -qpid.tests.messaging.endpoints.AddressTests.testDeleteSpecial -  ###### Java Broker defects ###### diff --git a/python/qpid/tests/messaging/endpoints.py b/python/qpid/tests/messaging/endpoints.py index 3a4dc4517e..c3702bf5be 100644 --- a/python/qpid/tests/messaging/endpoints.py +++ b/python/qpid/tests/messaging/endpoints.py @@ -1038,7 +1038,7 @@ class AddressTests(Base):        snd.close()        assert False, "successfully deleted amq.topic"      except SessionError, e: -      assert "Cannot delete default exchange" in str(e) +      assert e.code == 530      # XXX: need to figure out close after error      self.conn._remove_session(self.ssn)  | 
