Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Print Str Assign NameStore Call NameLoad Assign NameStore BinOpMod Str Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assert CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assert CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assert NameLoad Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assert UnaryOpNot NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Print Str decorator_list decorator_list
N/A N/A 
Some unit tests for the S3 Encryption
 N/A unittest N/A time boto.s3.connection S3Connection boto.exception S3ResponseError N/A json_policy {
   "Version":"2008-10-17",
   "Id":"PutObjPolicy",
   "Statement":[{
         "Sid":"DenyUnEncryptedObjectUploads",
         "Effect":"Deny",
         "Principal":{
            "AWS":"*"
         },
         "Action":"s3:PutObject",
         "Resource":"arn:aws:s3:::%s/*",
         "Condition":{
            "StringNotEquals":{
               "s3:x-amz-server-side-encryption":"AES256"
            }
         }
      }
   ]
} S3EncryptionTest N/A N/A unittest TestCase N/A N/A s3 True test_1_versions N/A N/A self N/A N/A N/A --- running S3Encryption tests --- N/A c N/A S3Connection N/A bucket_name N/A encryption-%d N/A int N/A N/A time time N/A bucket N/A N/A c create_bucket bucket_name N/A bucket N/A N/A c get_bucket bucket_name N/A k N/A N/A bucket new_key foobar N/A s1 This is unencrypted data N/A s2 This is encrypted data N/A N/A N/A k set_contents_from_string s1 N/A N/A N/A time sleep 5 N/A o N/A N/A N/A N/A k get_contents_as_string decode utf-8 N/A N/A o s1 N/A N/A N/A k set_contents_from_string s2 encrypt_key True N/A N/A N/A time sleep 5 N/A o N/A N/A N/A N/A k get_contents_as_string decode utf-8 N/A N/A o s2 N/A N/A N/A bucket set_policy N/A json_policy N/A bucket name N/A N/A N/A time sleep 5 N/A write_failed False N/A N/A N/A N/A N/A k set_contents_from_string s1 N/A N/A N/A S3ResponseError N/A N/A write_failed True N/A write_failed N/A write_failed False N/A N/A N/A N/A N/A k set_contents_from_string s1 encrypt_key True N/A N/A N/A S3ResponseError N/A N/A write_failed True N/A N/A write_failed N/A N/A N/A k delete N/A N/A N/A time sleep 5 N/A N/A N/A bucket delete N/A --- tests completed --- N/A N/A