Exemplo n.º 1
0
def test_make_blob_public(test_blob):
    snippets.make_blob_public(
        BUCKET,
        test_blob.name)

    r = requests.get(test_blob.public_url)
    assert r.text == 'Hello, is it me you\'re looking for?'
Exemplo n.º 2
0
def test_make_blob_public(test_blob, cloud_config):
    snippets.make_blob_public(
        cloud_config.storage_bucket,
        test_blob.name)

    r = requests.get(test_blob.public_url)
    assert r.text == 'Hello, is it me you\'re looking for?'
def test_make_blob_public(test_blob):
    snippets.make_blob_public(BUCKET, test_blob.name)

    r = requests.get(test_blob.public_url)
    assert r.text == 'Hello, is it me you\'re looking for?'