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 - tests - support vcr for flight recording #7735

Merged
merged 4 commits into from
Sep 9, 2022

Conversation

ritch2022
Copy link
Contributor

No description provided.

@kapilt kapilt changed the title feat: support vcr c7n_tencentcloud - tests - support vcr for flight recording Sep 6, 2022
jsonpath = "Response.Products[]"
resp = simple_client.execute_query(action, {})
data = jmespath.search(jsonpath, resp)
assert data
Copy link
Collaborator

Choose a reason for hiding this comment

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

can this assert additionally some value in the data?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the original idea is just checking whether there is a value.
sure, will add some value next time

@@ -257,9 +261,9 @@ def get_resource_tag(self, resource):
})
return result

def get_resource6(self, resource_id):
def get_resource_qcs(self, resource_id):
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@@ -108,7 +108,7 @@ jobs:
shell: bash
run: |
make sphinx

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit extraneous whitespace

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

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 overall, thanks

@kapilt kapilt merged commit 81186a8 into cloud-custodian:master Sep 9, 2022
ritch2022 added 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

2 participants