-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Key Vault] Target multiple API versions with tests (secrets) #18183
Conversation
test_class_instance._skip_if_not_configured(api_version) | ||
client = test_class_instance.create_client(azure_keyvault_url, api_version=api_version, **kwargs) | ||
|
||
if kwargs.get("is_async"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need is_async
for anything else? If not, consider this: https://github.com/Azure/azure-sdk-for-python/blob/2794bfcc88aad415920c234a848701f2bcfeeb88/tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py#L145-155
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_async
is also provided to create_client, but I'll keep this in mind!
config readme.python (Azure#18183)
config readme.python (Azure#18183)
config readme.python (Azure#18183)
Part of #12376 -- same methodology as #16979, with added decorator work from #18149.