Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 686001 Details for
Bug 574571
Python messaging client unusable after receiving a malformed message
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add python tests
python-tests.patch (text/plain), 801 bytes, created by
Ernie
on 2013-01-23 15:24:17 UTC
(
hide
)
Description:
Add python tests
Filename:
MIME Type:
Creator:
Ernie
Created:
2013-01-23 15:24:17 UTC
Size:
801 bytes
patch
obsolete
>diff --git a/qpid/python/qpid/tests/messaging/message.py b/qpid/python/qpid/tests/messaging/message.py >index 297374b..7328165 100644 >--- a/qpid/python/qpid/tests/messaging/message.py >+++ b/qpid/python/qpid/tests/messaging/message.py >@@ -153,3 +153,16 @@ class MessageEchoTests(Base): > f = echo.content["false"] > assert isinstance(t, bool), t > assert isinstance(f, bool), f >+ >+ def testExceptionRaisedMismatchedContentType(self): >+ msg = Message(content_type="amqp/map", content="asdf") >+ try: >+ self.snd.send(msg) >+ self.rcv.fetch(0) >+ assert False, "Exception not raised on mismatched content/content_type" >+ except Exception, e: >+ pass >+ >+ def testRecoverAfterException(self): >+ self.testExceptionRaisedMismatchedContentType() >+ self.testTextPlain()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 574571
:
679756
|
685286
| 686001 |
737691