diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-07-12 13:43:27 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-07-12 13:43:27 +0000 |
| commit | 4739ca25936b56e123a10aca584064478500dca4 (patch) | |
| tree | 56dbe86bb77d842fc95b754196c5d256c7de85ae /python/qpid/tests | |
| parent | 3ece0b6afe552f832962ffea5a5143c7d54453d3 (diff) | |
| download | qpid-python-4739ca25936b56e123a10aca584064478500dca4.tar.gz | |
fixed payload of None for text/plain messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963280 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests')
| -rw-r--r-- | python/qpid/tests/messaging/message.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/qpid/tests/messaging/message.py b/python/qpid/tests/messaging/message.py index 91aab5fb35..526a5cfab6 100644 --- a/python/qpid/tests/messaging/message.py +++ b/python/qpid/tests/messaging/message.py @@ -111,3 +111,9 @@ class MessageEchoTests(Base): def testContentTypeUnknown(self): msg = Message(content_type = "this-content-type-does-not-exist") self.check(msg) + + def testTextPlain(self): + self.check(Message(content_type="text/plain", content="asdf")) + + def testTextPlainEmpty(self): + self.check(Message(content_type="text/plain")) |
