def test_list_blobs_with_prefix(test_blob, capsys):
    snippets.list_blobs_with_prefix(BUCKET, prefix='storage_snippets')
    out, _ = capsys.readouterr()
    assert test_blob.name in out
def test_list_blobs_with_prefix(test_blob, capsys):
    snippets.list_blobs_with_prefix(
        BUCKET,
        prefix='storage_snippets')
    out, _ = capsys.readouterr()
    assert test_blob.name in out
Beispiel #3
0
def test_list_blobs_with_prefix(test_blob, cloud_config, capsys):
    snippets.list_blobs_with_prefix(cloud_config.storage_bucket,
                                    prefix='storage_snippets')
    out, _ = capsys.readouterr()
    assert test_blob.name in out
def test_list_blobs_with_prefix(test_blob, cloud_config, capsys):
    snippets.list_blobs_with_prefix(
        cloud_config.storage_bucket,
        prefix='storage_snippets')
    out, _ = capsys.readouterr()
    assert test_blob.name in out