1from tests.mturk.support import unittest 2 3from common import MTurkCommon 4from boto.mturk.connection import MTurkRequestError 5 6class TestDisableHITs(MTurkCommon): 7 def test_disable_invalid_hit(self): 8 self.assertRaises(MTurkRequestError, self.conn.disable_hit, 'foo') 9 10if __name__ == '__main__': 11 unittest.main() 12