You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2013/02/13 21:58:24 UTC
svn commit: r1445919 -
/qpid/proton/trunk/tests/python/proton_tests/messenger.py
Author: aconway
Date: Wed Feb 13 20:58:24 2013
New Revision: 1445919
URL: http://svn.apache.org/r1445919
Log:
NO-JIRA: Minor test fix: testSendBogus check for no exception.
Modified:
qpid/proton/trunk/tests/python/proton_tests/messenger.py
Modified: qpid/proton/trunk/tests/python/proton_tests/messenger.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/python/proton_tests/messenger.py?rev=1445919&r1=1445918&r2=1445919&view=diff
==============================================================================
--- qpid/proton/trunk/tests/python/proton_tests/messenger.py (original)
+++ qpid/proton/trunk/tests/python/proton_tests/messenger.py Wed Feb 13 20:58:24 2013
@@ -131,6 +131,7 @@ class MessengerTest(Test):
msg.address="totally-bogus-address"
try:
self.client.put(msg)
+ assert False, "Expecting MessengerException"
except MessengerException, exc:
err = str(exc)
assert "unable to send to address: totally-bogus-address" in err, err
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org