GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add system tests for Storage ACLs · Issue #1221 · googleapis/google-cloud-python

Add system tests for Storage ACLs #1221

New issue
Copy link
New issue
Copy link
Closed
Closed
Add system tests for Storage ACLs#1221
Copy link
Assignees
lukesneeringer
Labels
api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.testing

Description

@dhermes
dhermes
opened on Nov 16, 2015
Issue body actions

@thobrla Do you have any suggestions for which sorts of things to test?

Activity

  1. dhermes
    added
    api: storageIssues related to the Cloud Storage API.
    testing
    on Nov 16, 2015
  2. thobrla commented on Nov 16, 2015

    @thobrla
    thobrla
    on Nov 16, 2015
    More actions

    Unit tests on your basic functions. Integration tests (using a user-provided test project) to make sure those functions work on real objects.

  3. dhermes commented on Nov 16, 2015

    @dhermes
    dhermes
    on Nov 16, 2015
    ContributorAuthor
    More actions

    Ha thanks for the insights 😀

    I meant what kind of integration tests would you make against the ACL API? Just being exhaustive against the 18 ACL API methods may not be sufficient.

    I figured you'd have some insight into what is tricky about those methods.

  4. thobrla commented on Nov 16, 2015

    @thobrla
    thobrla
    on Nov 16, 2015
    More actions

    Sorry, the question was somewhat vague.

    Probably the biggest issue you run into with integration tests is finding valid actors to assign the ACLs to. You really need the actor running the test to retain access, but if you want to test ACL semantics, you need to be able to act as a second actor who may lose/gain access as part of the test. If the user provides their own test project, statically defined actors likely do not have access to that project, etc.

  5. dhermes commented on Nov 16, 2015

    @dhermes
    dhermes
    on Nov 16, 2015
    ContributorAuthor
    More actions

    My bad, I figured the title + the text would be sufficient.

    We use a dedicated Cloud Console project for our system tests and use only one service account. In theory, we could accomplish the two actor behavior by adding a second service account.

    Would we need it to be attached to a different project or could it be from the same project? (Seems it would be possible to just make an object private to a single service account and test this kind of access.)

  6. thobrla commented on Nov 16, 2015

    @thobrla
    thobrla
    on Nov 16, 2015
    More actions

    As long as all contributors have access to the dedicated project, this should work.

  7. dhermes commented on Nov 17, 2015

    @dhermes
    dhermes
    on Nov 17, 2015
    ContributorAuthor
    More actions

    Good to know. Thanks.

  8. lukesneeringer
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Apr 19, 2017
  9. lukesneeringer commented on Aug 11, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 11, 2017
    Contributor
    More actions

    Hello,
    One of the challenges of maintaining a large open source project is that sometimes, you can bite off more than you can chew. As the lead maintainer of google-cloud-python, I can definitely say that I have let the issues here pile up.

    As part of trying to get things under control (as well as to empower us to provide better customer service in the future), I am declaring a "bankruptcy" of sorts on many of the old issues, especially those likely to have been addressed or made obsolete by more recent updates.

    My goal is to close stale issues whose relevance or solution is no longer immediately evident, and which appear to be of lower importance. I believe in good faith that this is one of those issues, but I am scanning quickly and may occasionally be wrong. If this is an issue of high importance, please comment here and we will reconsider. If this is an issue whose solution is trivial, please consider providing a pull request.

    Thank you!

  10. lukesneeringer
    closed this as completedon Aug 11, 2017
  11. JustinBeckwith
    assigned
    lukesneeringer
    on Feb 1, 2021
  12. parthea
    added 5 commits that reference this issue on Sep 22, 2023

    update samples to v1 [(#1221)](GoogleCloudPlatform/python-docs-sample…

    ef0120a

    docs: add samples from video/cloud-client/labels (#49)

    ebf4273

    update samples to v1 [(#1221)](GoogleCloudPlatform/python-docs-sample…

    3c12839

    docs: add samples from video/cloud-client/shotchange (#72)

    0ed386e

    feat!: use microgenerator (#76)

    32ef47f
  13. parthea
    added 2 commits that reference this issue on Nov 24, 2025

    chore(deps): update dependency googleapis-common-protos to v1.55.0 (#…

    1bba7c0

    chore: update token (#1221)

    151b7b0
  14. parthea
    added 2 commits that reference this issue on Mar 2, 2026

    chore(python): use python 3.10 for docs build (#1221)

    2374d6b

    chore(deps): update dependency typing-extensions to v4.2.0 (#1221)

    ebf1f37
  15. parthea
    added a commit that references this issue on Sep 8, 2026

    docs: migrate code from googleapis/python-bigquery (#18303)

    23f9a74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.