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

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

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 >>> from _init_environment import MTurkConnection, mturk_host 1 >>> from _init_environment import MTurkConnection, mturk_host
2 >>> conn = MTurkConnection(host=mturk_host) 2 >>> conn = MTurkConnection(host=mturk_host)
3 3
4 # should have some HIT's returned by a search (but only if your account has exis ting HIT's) 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() 5 >>> search_rs = conn.search_hits()
6 6
7 # this is a valid request 7 # this is a valid request
8 >>> search_rs.status 8 >>> search_rs.status
9 True 9 True
10 10
11 >>> len(search_rs) > 1 11 >>> len(search_rs) > 1
12 True 12 True
13 13
14 >>> search_rs # doctest: +ELLIPSIS 14 >>> search_rs # doctest: +ELLIPSIS
15 [<boto.mturk.connection.HIT instance at ...] 15 [<boto.mturk.connection.HIT instance at ...]
16 16
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/tests/mturk/run-doctest.py ('k') | third_party/gsutil/boto/tests/mturk/selenium_support.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698