Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/boto/tests/unit/sns/test_connection.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/boto/tests/unit/sns/test_connection.py
===================================================================
--- third_party/boto/tests/unit/sns/test_connection.py (revision 33376)
+++ third_party/boto/tests/unit/sns/test_connection.py (working copy)
@@ -225,6 +225,17 @@
'MessageStructure': 'json',
}, ignore_params_values=['Version', 'ContentType'])
+ def test_publish_with_utf8_message(self):
+ self.set_http_response(status_code=200)
+ subject = message = u'We \u2665 utf-8'.encode('utf-8')
+ self.service_connection.publish('topic', message, subject)
+ self.assert_request_parameters({
+ 'Action': 'Publish',
+ 'TopicArn': 'topic',
+ 'Subject': subject,
+ 'Message': message,
+ }, ignore_params_values=['Version', 'ContentType'])
+
if __name__ == '__main__':
unittest.main()
« no previous file with comments | « third_party/boto/tests/unit/ses/test_identity.py ('k') | third_party/boto/tests/unit/sqs/test_connection.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698