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

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

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 unittest 1 import unittest
2 import os 2 import os
3 from boto.mturk.question import QuestionForm 3 from boto.mturk.question import QuestionForm
4 4
5 from common import MTurkCommon 5 from common import MTurkCommon
6 6
7 class TestHITCreation(MTurkCommon): 7 class TestHITCreation(MTurkCommon):
8 def testCallCreateHitWithOneQuestion(self): 8 def testCallCreateHitWithOneQuestion(self):
9 create_hit_rs = self.conn.create_hit( 9 create_hit_rs = self.conn.create_hit(
10 question=self.get_question(), 10 question=self.get_question(),
11 **self.get_hit_params() 11 **self.get_hit_params()
12 ) 12 )
13 13
14 def testCallCreateHitWithQuestionForm(self): 14 def testCallCreateHitWithQuestionForm(self):
15 create_hit_rs = self.conn.create_hit( 15 create_hit_rs = self.conn.create_hit(
16 questions=QuestionForm([self.get_question()]), 16 questions=QuestionForm([self.get_question()]),
17 **self.get_hit_params() 17 **self.get_hit_params()
18 ) 18 )
19 19
20 if __name__ == '__main__': 20 if __name__ == '__main__':
21 unittest.main() 21 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698