Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call NameLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AugAssignAdd AttributeStore NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A Integration tests for StorageUri interface. N/A binascii N/A re N/A StringIO boto storage_uri boto.exception BotoClientError boto.gs.acl SupportedPermissions perms tests.integration.gs.testcase GSTestCase GSStorageUriTest N/A GSTestCase N/A testHasVersion N/A N/A self N/A N/A N/A uri N/A storage_uri gs://bucket/obj N/A N/A N/A self assertFalse N/A N/A uri has_version N/A N/A uri version_id versionid N/A N/A N/A self assertTrue N/A N/A uri has_version N/A uri N/A storage_uri gs://bucket/obj N/A N/A uri generation 12345 N/A N/A N/A self assertTrue N/A N/A uri has_version N/A N/A uri generation None N/A N/A N/A self assertFalse N/A N/A uri has_version N/A uri N/A storage_uri gs://bucket/obj N/A N/A uri generation 0 N/A N/A N/A self assertTrue N/A N/A uri has_version N/A testCloneReplaceKey N/A N/A self N/A N/A N/A b N/A N/A self _MakeBucket N/A k N/A N/A b new_key obj N/A N/A N/A k set_contents_from_string stringdata N/A orig_uri N/A storage_uri N/A gs://%s/ N/A b name N/A uri N/A N/A orig_uri clone_replace_key k N/A N/A N/A self assertTrue N/A N/A uri has_version N/A N/A N/A self assertRegexpMatches N/A str N/A uri generation [0-9]+ N/A testSetAclXml N/A N/A self N/A N/A N/A Ensures that calls to the set_xml_acl functions succeed. N/A b N/A N/A self _MakeBucket N/A k N/A N/A b new_key obj N/A N/A N/A k set_contents_from_string stringdata N/A bucket_uri N/A storage_uri N/A gs://%s/ N/A b name N/A N/A bucket_uri object_name obj N/A bucket_acl N/A N/A bucket_uri get_acl N/A N/A bucket_uri object_name None N/A all_users_read_permission <Entry><Scope type='AllUsers'/><Permission>READ</Permission></Entry> N/A acl_string N/A N/A re sub </Entries> N/A all_users_read_permission </Entries> N/A N/A bucket_acl to_xml N/A acl_no_owner_string N/A N/A re sub <Owner>.*</Owner> acl_string N/A N/A N/A bucket_uri set_xml_acl acl_string obj N/A N/A N/A bucket_uri set_xml_acl acl_no_owner_string N/A N/A N/A bucket_uri set_def_xml_acl acl_no_owner_string N/A new_obj_acl_string N/A N/A N/A N/A k get_acl to_xml N/A new_bucket_acl_string N/A N/A N/A N/A bucket_uri get_acl to_xml N/A new_bucket_def_acl_string N/A N/A N/A N/A bucket_uri get_def_acl to_xml N/A N/A N/A self assertRegexpMatches new_obj_acl_string AllUsers N/A N/A N/A self assertRegexpMatches new_bucket_acl_string AllUsers N/A N/A N/A self assertRegexpMatches new_bucket_def_acl_string AllUsers N/A testPropertiesUpdated N/A N/A self N/A N/A N/A b N/A N/A self _MakeBucket N/A bucket_uri N/A storage_uri N/A gs://%s N/A b name N/A key_uri N/A N/A bucket_uri clone_replace_name obj N/A N/A N/A key_uri set_contents_from_string data1 N/A N/A N/A self assertRegexpMatches N/A str N/A key_uri generation [0-9]+ N/A k N/A N/A b get_key obj N/A N/A N/A self assertEqual N/A k generation N/A key_uri generation N/A N/A N/A self assertEquals N/A N/A k get_contents_as_string data1 N/A N/A N/A key_uri set_contents_from_stream N/A N/A StringIO StringIO data2 N/A N/A N/A self assertRegexpMatches N/A str N/A key_uri generation [0-9]+ N/A N/A N/A self assertGreater N/A key_uri generation N/A k generation N/A k N/A N/A b get_key obj N/A N/A N/A self assertEqual N/A k generation N/A key_uri generation N/A N/A N/A self assertEquals N/A N/A k get_contents_as_string data2 N/A N/A N/A key_uri set_contents_from_file N/A N/A StringIO StringIO data3 N/A N/A N/A self assertRegexpMatches N/A str N/A key_uri generation [0-9]+ N/A N/A N/A self assertGreater N/A key_uri generation N/A k generation N/A k N/A N/A b get_key obj N/A N/A N/A self assertEqual N/A k generation N/A key_uri generation N/A N/A N/A self assertEquals N/A N/A k get_contents_as_string data3 N/A testCompose N/A N/A self N/A N/A N/A data1 hello  N/A data2 world! N/A expected_crc 1238062967 N/A b N/A N/A self _MakeBucket N/A bucket_uri N/A storage_uri N/A gs://%s N/A b name N/A key_uri1 N/A N/A bucket_uri clone_replace_name component1 N/A N/A N/A key_uri1 set_contents_from_string data1 N/A key_uri2 N/A N/A bucket_uri clone_replace_name component2 N/A N/A N/A key_uri2 set_contents_from_string data2 N/A key_uri_composite N/A N/A bucket_uri clone_replace_name composite N/A components N/A key_uri1 key_uri2 N/A N/A N/A key_uri_composite compose components content_type text/plain N/A N/A N/A self assertEquals N/A N/A key_uri_composite get_contents_as_string N/A data1 data2 N/A composite_key N/A N/A key_uri_composite get_key N/A cloud_crc32c N/A N/A binascii hexlify N/A N/A composite_key cloud_hashes N/A crc32c N/A N/A N/A self assertEquals cloud_crc32c N/A N/A hex expected_crc N/A 2 N/A N/A N/A self assertEquals N/A composite_key content_type text/plain N/A N/A key_uri1 bucket_name 2 N/A N/A N/A N/A N/A key_uri_composite compose components N/A N/A N/A self fail Composing between buckets didn't fail as expected. N/A N/A N/A BotoClientError N/A err N/A N/A N/A N/A self assertEquals N/A err reason GCS does not support inter-bucket composing N/A N/A