Пример #1
0
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()
Пример #2
0
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()
Пример #3
0
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()
Пример #4
0
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()