def setUpClass(cls): if import_failed: test_utils.skipTest( 'Could not import parse_s3, most likely cause is Boto not installed' ) cls.tmpdir = tempfile.mkdtemp() _handle, cls.tmpfile = tempfile.mkstemp(dir=cls.tmpdir)
def setUpClass(cls): if import_failed: test_utils.skipTest( 'Could not import s3_walker, most likely cause is Boto not installed' ) cls.walker = S3Walker('http://endpoint.com', 'accesskey', 'secretkey') cls.walker.connect() cls.walker.conn.get_bucket = mock_get_bucket
def setUpClass(cls): if import_failed: test_utils.skipTest('Could not import parse_s3, most likely cause is Boto not installed') cls.mock_walker = MockS3Walker()
def setUpClass(cls): if import_failed: test_utils.skipTest('Could not import parse_s3, most likely cause is Boto not installed') cls.tmpdir = tempfile.mkdtemp() _handle, cls.tmpfile = tempfile.mkstemp(dir=cls.tmpdir)
def setUpClass(cls): if import_failed: test_utils.skipTest( 'Could not import s3_walker, most likely cause is Boto not installed' )