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

Unified Diff: third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py
diff --git a/third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py b/third_party/gsutil/third_party/boto/tests/mturk/test_disable_hit.py
new file mode 100644
index 0000000000000000000000000000000000000000..67c68e53a5a15796720c88192c88323c39a6a849
--- /dev/null
+++ b/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()
« no previous file with comments | « third_party/gsutil/third_party/boto/tests/mturk/support.py ('k') | third_party/gsutil/third_party/boto/tests/test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698