| Index: third_party/gsutil/third_party/boto/tests/mturk/create_hit_test.py
|
| diff --git a/third_party/gsutil/third_party/boto/tests/mturk/create_hit_test.py b/third_party/gsutil/third_party/boto/tests/mturk/create_hit_test.py
|
| index a690d80a540f9b83ae7a1a73715c8b353e236349..ea134b4c3c7659f48822b214467b6fd74911ec34 100644
|
| --- a/third_party/gsutil/third_party/boto/tests/mturk/create_hit_test.py
|
| +++ b/third_party/gsutil/third_party/boto/tests/mturk/create_hit_test.py
|
| @@ -1,21 +1,21 @@
|
| -import unittest
|
| -import os
|
| -from boto.mturk.question import QuestionForm
|
| -
|
| -from common import MTurkCommon
|
| -
|
| -class TestHITCreation(MTurkCommon):
|
| - def testCallCreateHitWithOneQuestion(self):
|
| - create_hit_rs = self.conn.create_hit(
|
| - question=self.get_question(),
|
| - **self.get_hit_params()
|
| - )
|
| -
|
| - def testCallCreateHitWithQuestionForm(self):
|
| - create_hit_rs = self.conn.create_hit(
|
| - questions=QuestionForm([self.get_question()]),
|
| - **self.get_hit_params()
|
| - )
|
| -
|
| -if __name__ == '__main__':
|
| - unittest.main()
|
| +import unittest
|
| +import os
|
| +from boto.mturk.question import QuestionForm
|
| +
|
| +from common import MTurkCommon
|
| +
|
| +class TestHITCreation(MTurkCommon):
|
| + def testCallCreateHitWithOneQuestion(self):
|
| + create_hit_rs = self.conn.create_hit(
|
| + question=self.get_question(),
|
| + **self.get_hit_params()
|
| + )
|
| +
|
| + def testCallCreateHitWithQuestionForm(self):
|
| + create_hit_rs = self.conn.create_hit(
|
| + questions=QuestionForm([self.get_question()]),
|
| + **self.get_hit_params()
|
| + )
|
| +
|
| +if __name__ == '__main__':
|
| + unittest.main()
|
|
|