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 | 572e2e63991d6b4fef3296f7dac6878b6044eff2 (patch) | |
| tree | ce736fe83ecf0e4a5238285fa49747b846ed8d2d /python/qpid/tests | |
| parent | 735168f07870add9bf705e7f2d7c6076ef20585a (diff) | |
| download | qpid-python-572e2e63991d6b4fef3296f7dac6878b6044eff2.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')
| -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) |
