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

c7n_tencentcloud: add fixture for environment variables, and fix typos in query.py. #7824

Merged
merged 3 commits into from Oct 7, 2022

Conversation

howbazaar
Copy link
Collaborator

No description provided.

@@ -7,6 +7,13 @@
from c7n_tencentcloud.client import Session


@pytest.fixture(autouse=True)
Copy link
Collaborator

@kapilt kapilt Oct 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we currently do this in test.env file across all providers. which is used by the make test-poetry target. I do wonder if we should switch to this style of fixture at least for this provider to make testing in isolation easier. I think part of the issue re a general switch is that other providers also have unit test cases which don't normally support pytest fixtures.

Copy link
Collaborator

@kapilt kapilt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@thisisshi thisisshi merged commit 0211044 into cloud-custodian:master Oct 7, 2022
ritch2022 pushed a commit to ritch2022/cloud-custodian that referenced this pull request Oct 13, 2022
HappyKid117 pushed a commit to HappyKid117/cloud-custodian that referenced this pull request Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants