예제 #1
0
 def test_calling_format_subdomain(self):
     cf = s3.get_calling_format(s3_store_bucket_url_format='subdomain')
     self.assertIsInstance(cf, boto.s3.connection.SubdomainCallingFormat)
예제 #2
0
 def test_calling_format_default(self):
     self.assertIsInstance(s3.get_calling_format(),
                           boto.s3.connection.SubdomainCallingFormat)
예제 #3
0
 def test_calling_format_path(self):
     cf = s3.get_calling_format(s3_store_bucket_url_format='path')
     self.assertIsInstance(cf, boto.s3.connection.OrdinaryCallingFormat)