Index: tools/telemetry/third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py |
diff --git a/tools/telemetry/third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py b/tools/telemetry/third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d9bd9bfc00c30086683c94f601a93df3b6bf79b |
--- /dev/null |
+++ b/tools/telemetry/third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py |
@@ -0,0 +1,11 @@ |
+from tests.mturk.support import unittest |
+ |
+from common import MTurkCommon |
+from boto.mturk.connection import MTurkRequestError |
+ |
+class TestDisableHITs(MTurkCommon): |
+ def test_disable_invalid_hit(self): |
+ self.assertRaises(MTurkRequestError, self.conn.disable_hit, 'foo') |
+ |
+if __name__ == '__main__': |
+ unittest.main() |