Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests(vision): normalize VPCSC configuration in systests #9620

Merged
merged 4 commits into from
Nov 11, 2019
Merged

tests(vision): normalize VPCSC configuration in systests #9620

merged 4 commits into from
Nov 11, 2019

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Nov 6, 2019

Toward #7580.

- Use 'vpcsc_config' test utility for parsing VPCSC env vars, skipping.
- Use idiomatic 'with pytest.raises' for blocked methods.
- Avoid calling 'unique_id()' more than once.
- Remove test for VPCSC of storage client.
@tseaver tseaver added testing api: vision Issues related to the Cloud Vision API. labels Nov 6, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 6, 2019
vision/tests/system.py Outdated Show resolved Hide resolved
@tseaver tseaver merged commit 3130f61 into googleapis:master Nov 11, 2019
@tseaver tseaver deleted the 9580-vision-normalize-vpcsc-config branch November 11, 2019 19:09
crwilcox pushed a commit to googleapis/python-vision that referenced this pull request Feb 1, 2020
* tests(vision): normalize VPCSC configuration in systests

- Use 'vpcsc_config' test utility for parsing VPCSC env vars, skipping.
- Use idiomatic 'with pytest.raises' for blocked methods.
- Avoid calling 'unique_id()' more than once.
- Remove test for VPCSC of storage client.

* fix: blacken

* fix: lint

* fix: update partial error message

Per request from @brendanlundy:
googleapis/google-cloud-python#9620 (comment)
parthea pushed a commit that referenced this pull request Oct 21, 2023
* tests(vision): normalize VPCSC configuration in systests

- Use 'vpcsc_config' test utility for parsing VPCSC env vars, skipping.
- Use idiomatic 'with pytest.raises' for blocked methods.
- Avoid calling 'unique_id()' more than once.
- Remove test for VPCSC of storage client.

* fix: blacken

* fix: lint

* fix: update partial error message

Per request from @brendanlundy:
#9620 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vision Issues related to the Cloud Vision API. cla: yes This human has signed the Contributor License Agreement. testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants