def test_list_buckets(test_bucket, capsys): storage_list_buckets.list_buckets() out, _ = capsys.readouterr() assert test_bucket.name in out
def test_list_buckets(capsys): storage_list_buckets.list_buckets() out, _ = capsys.readouterr() assert BUCKET in out