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

Side by Side Diff: third_party/gsutil/boto/tests/mturk/create_hit_binary.doctest

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 >>> import uuid 1 >>> import uuid
2 >>> import datetime 2 >>> import datetime
3 >>> from _init_environment import MTurkConnection, mturk_host 3 >>> from _init_environment import MTurkConnection, mturk_host
4 >>> from boto.mturk.question import Question, QuestionContent, AnswerSpecificati on, FreeTextAnswer, Binary 4 >>> from boto.mturk.question import Question, QuestionContent, AnswerSpecificati on, FreeTextAnswer, Binary
5 5
6 >>> conn = MTurkConnection(host=mturk_host) 6 >>> conn = MTurkConnection(host=mturk_host)
7 7
8 # create content for a question 8 # create content for a question
9 >>> qn_content = QuestionContent() 9 >>> qn_content = QuestionContent()
10 >>> qn_content.append_field('Title','Boto no hit type question content') 10 >>> qn_content.append_field('Title','Boto no hit type question content')
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 # title is the HIT type description 85 # title is the HIT type description
86 >>> hit.Description 86 >>> hit.Description
87 u'Boto create_hit description' 87 u'Boto create_hit description'
88 88
89 # annotation is correct 89 # annotation is correct
90 >>> hit.RequesterAnnotation 90 >>> hit.RequesterAnnotation
91 u'An annotation from boto create_hit test' 91 u'An annotation from boto create_hit test'
92 92
93 >>> hit.HITReviewStatus 93 >>> hit.HITReviewStatus
94 u'NotReviewed' 94 u'NotReviewed'
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/tests/mturk/create_hit.doctest ('k') | third_party/gsutil/boto/tests/mturk/create_hit_external.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698