| OLD | NEW |
| 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 |
| OLD | NEW |