Skip to content

tests(asset): normalize VPCSC configuration in systests - #9614

Merged
tseaver merged 5 commits into
googleapis:masterfrom
tseaver:9580-asset-normalize-spcsc-config
Nov 11, 2019
Merged

tests(asset): normalize VPCSC configuration in systests#9614
tseaver merged 5 commits into
googleapis:masterfrom
tseaver:9580-asset-normalize-spcsc-config

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Toward #9580.

@tseavertseaver added testing api: cloudasset Issues related to the Cloud Asset Inventory API. labels Nov 6, 2019
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 6, 2019
@tseavertseaver added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 6, 2019
@tseaver

Copy link
Copy Markdown
ContributorAuthor

I tagged with "do not merge" because I believe we should refactor all these un-idiomatic tests along the lines of the changes in #9618.

Comment threadasset/tests/system/test_vpcsc.py
- Move 'skip_unless_inside_vpcsc' to class scope.
- Drop never-reached branch for outside in '_do_test'.
- Don't swallow unexpected exceptions inside '_is_rejected.
@tseavertseaver removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 11, 2019
@tseaver

Copy link
Copy Markdown
ContributorAuthor

@busunkim96 I've removed the "do not merge" label after refactoring the VPCSC systests to be in line with #9618.

@tseaver
tseaver merged commit d08b210 into googleapis:masterNov 11, 2019
@tseaver
tseaver deleted the 9580-asset-normalize-spcsc-config branch November 11, 2019 22:32
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudassetIssues related to the Cloud Asset Inventory API.cla: yesThis human has signed the Contributor License Agreement.testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tseaver@busunkim96@googlebot