Index: third_party/gsutil/boto/tests/mturk/all_tests.py |
diff --git a/third_party/gsutil/boto/tests/mturk/all_tests.py b/third_party/gsutil/boto/tests/mturk/all_tests.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ba2e12281f76881fa07a43df8b7bf417839fbbfd |
--- /dev/null |
+++ b/third_party/gsutil/boto/tests/mturk/all_tests.py |
@@ -0,0 +1,24 @@ |
+ |
+import unittest |
+import doctest |
+from glob import glob |
+ |
+from create_hit_test import * |
+from create_hit_with_qualifications import * |
+from create_hit_external import * |
+from create_hit_with_qualifications import * |
+from hit_persistence import * |
+ |
+doctest_suite = doctest.DocFileSuite( |
+ *glob('*.doctest'), |
+ **{'optionflags': doctest.REPORT_ONLY_FIRST_FAILURE} |
+ ) |
+ |
+class Program(unittest.TestProgram): |
+ def runTests(self, *args, **kwargs): |
+ self.test = unittest.TestSuite([self.test, doctest_suite]) |
+ super(Program, self).runTests(*args, **kwargs) |
+ |
+if __name__ == '__main__': |
+ Program() |
+ |