def test_add_bucket_owner(test_bucket, cloud_config): acl.add_bucket_owner(cloud_config.storage_bucket, TEST_EMAIL) test_bucket.acl.reload() assert 'OWNER' in test_bucket.acl.user(TEST_EMAIL).get_roles()
def test_add_bucket_owner(test_bucket): acl.add_bucket_owner(BUCKET, TEST_EMAIL) test_bucket.acl.reload() assert 'OWNER' in test_bucket.acl.user(TEST_EMAIL).get_roles()