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

Side by Side Diff: third_party/gsutil/boto/tests/mturk/create_hit_test.py

Issue 12317103: Added gsutil to depot tools (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: added readme Created 7 years, 9 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
OLDNEW
(Empty)
1 import unittest
2 import os
3 from boto.mturk.question import QuestionForm
4
5 from common import MTurkCommon
6
7 class TestHITCreation(MTurkCommon):
8 def testCallCreateHitWithOneQuestion(self):
9 create_hit_rs = self.conn.create_hit(
10 question=self.get_question(),
11 **self.get_hit_params()
12 )
13
14 def testCallCreateHitWithQuestionForm(self):
15 create_hit_rs = self.conn.create_hit(
16 questions=QuestionForm([self.get_question()]),
17 **self.get_hit_params()
18 )
19
20 if __name__ == '__main__':
21 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698