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

Side by Side Diff: third_party/gsutil/boto/tests/mturk/search_hits.doctest

Issue 12317103: Added gsutil to depot tools (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: added readme Created 7 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 >>> from _init_environment import MTurkConnection, mturk_host
2 >>> conn = MTurkConnection(host=mturk_host)
3
4 # should have some HIT's returned by a search (but only if your account has exis ting HIT's)
5 >>> search_rs = conn.search_hits()
6
7 # this is a valid request
8 >>> search_rs.status
9 True
10
11 >>> len(search_rs) > 1
12 True
13
14 >>> search_rs # doctest: +ELLIPSIS
15 [<boto.mturk.connection.HIT instance at ...]
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698