~ubuntu-branches/ubuntu/trusty/python-boto/trusty

« back to all changes in this revision

Viewing changes to tests/mturk/cleanup_tests.py

  • Committer: Package Import Robot
  • Author(s): Eric Evans
  • Date: 2013-05-10 23:38:14 UTC
  • mfrom: (1.1.10) (14.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130510233814-701dvlop7xfh88i7
Tags: 2.9.2-1
New upstream release (Closes: #700743).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import itertools
2
2
 
3
3
from _init_environment import SetHostMTurkConnection
 
4
from _init_environment import config_environment
4
5
 
5
6
def description_filter(substring):
6
7
        return lambda hit: substring in hit.Title
17
18
 
18
19
def cleanup():
19
20
        """Remove any boto test related HIT's"""
 
21
        config_environment()
20
22
 
21
23
        global conn
22
24