def test_s3_uppercase_names(self):
    bucket_name = ('TestUpperCase-%s' % short_uid())
    self.s3_client.create_bucket(Bucket=bucket_name)
    object_key = 'camelCaseKey'
    self.s3_client.put_object(Bucket=bucket_name, Key=object_key, Body='something')
    self.s3_client.get_object(Bucket=bucket_name, Key=object_key)
    self.assertRaises(Exception, self.s3_client.get_object, Bucket=bucket_name, Key=object_key.lower())
def test_s3_uppercase_names(self):
    bucket_name = ('TestUpperCase-%s' % short_uid())
    self.s3_client.create_bucket(Bucket=bucket_name)
    object_key = 'camelCaseKey'
    self.s3_client.put_object(Bucket=bucket_name, Key=object_key, Body='something')
    self.s3_client.get_object(Bucket=bucket_name, Key=object_key)
    self.assertRaises(Exception, self.s3_client.get_object, Bucket=bucket_name, Key=object_key.lower())