diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-03-23 15:32:48 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-03-23 15:32:48 +0000 |
| commit | 20c6e290c0bbb2865821ec7c50af923c974350c5 (patch) | |
| tree | ce736fe83ecf0e4a5238285fa49747b846ed8d2d /python/qpid/tests/messaging | |
| parent | fe99d24c4084b2cb2479b820a5b44378d1812ffc (diff) | |
| download | qpid-python-20c6e290c0bbb2865821ec7c50af923c974350c5.tar.gz | |
provide default codec for unknown content types
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926623 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/messaging')
| -rw-r--r-- | python/qpid/tests/messaging/message.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/qpid/tests/messaging/message.py b/python/qpid/tests/messaging/message.py index 654076588b..f2701af64b 100644 --- a/python/qpid/tests/messaging/message.py +++ b/python/qpid/tests/messaging/message.py @@ -107,3 +107,7 @@ class MessageEchoTests(Base): msg.properties = MessageEchoTests.TEST_MAP msg.reply_to = "reply-address" self.check(msg) + + def testContentTypeUnknown(self): + msg = Message(content_type = "this-content-type-does-not-exist") + self.check(msg) |
