Skip to content
Browse files

Convert tabs to spaces and fix some indentation errors.

  • Loading branch information...
1 parent edb411f commit fd638864c6a577630f51fc2a2666f82b449daa81 @abhinav-upadhyay committed Dec 25, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 tests/mturk/create_hit_external.py
View
16 tests/mturk/create_hit_external.py
@@ -5,15 +5,15 @@
config_environment
class Test(unittest.TestCase):
- def setUp(self):
- config_environment()
+ def setUp(self):
+ config_environment()
- def test_create_hit_external(self):
- q = ExternalQuestion(external_url=external_url, frame_height=800)
- conn = SetHostMTurkConnection()
- keywords=['boto', 'test', 'doctest']
- create_hit_rs = conn.create_hit(question=q, lifetime=60*65, max_assignments=2, title="Boto External Question Test", keywords=keywords, reward = 0.05, duration=60*6, approval_delay=60*60, annotation='An annotation from boto external question test', response_groups=['Minimal', 'HITDetail', 'HITQuestion', 'HITAssignmentSummary',])
- assert(create_hit_rs.status == True)
+ def test_create_hit_external(self):
+ q = ExternalQuestion(external_url=external_url, frame_height=800)
+ conn = SetHostMTurkConnection()
+ keywords = ['boto', 'test', 'doctest']
+ create_hit_rs = conn.create_hit(question=q, lifetime=60*65, max_assignments=2, title="Boto External Question Test", keywords=keywords, reward = 0.05, duration=60*6, approval_delay=60*60, annotation='An annotation from boto external question test', response_groups=['Minimal', 'HITDetail', 'HITQuestion', 'HITAssignmentSummary',])
+ assert(create_hit_rs.status == True)
if __name__ == "__main__":
unittest.main()

0 comments on commit fd63886

Please sign in to comment.
Something went wrong with that request. Please try again.