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)
Beispiel #2
0
 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
Beispiel #3
0
 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()
Beispiel #4
0
 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)
Beispiel #5
0
 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()
Beispiel #6
0
 def setUpClass(cls):
     if import_failed:
         test_utils.skipTest(
             'Could not import s3_walker, most likely cause is Boto not installed'
         )