Skip to content

test(providers/microsoft): add test cases to AzureContainerInstanceHook - #33991

Merged
eladkal merged 7 commits into
apache:mainfrom
astronomer:add-test-case-to-AzureContainerInstanceHook-when-credential-is-not-provided-from-conn
Sep 1, 2023
Merged

test(providers/microsoft): add test cases to AzureContainerInstanceHook #33991
eladkal merged 7 commits into
apache:mainfrom
astronomer:add-test-case-to-AzureContainerInstanceHook-when-credential-is-not-provided-from-conn

Conversation

@Lee-W

@Lee-WLee-W commented Sep 1, 2023

Copy link
Copy Markdown
Member

verify that AzureContainerInstanceHook use DefaultAzureCredential
when other credentials (i.e., login, password, tenant_id) are not provided

Add missing test cases to #33467


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Comment threadtests/providers/microsoft/azure/hooks/test_azure_container_instance.py Outdated
Comment threadpyproject.toml Outdated
verify that AzureContainerInstanceHook use DefaultAzureCredential
when other credential (i.e., login, password, tenant_id) are not provided
apache#33467
…azure_credential by asserting return conn and called args
@Lee-W
Lee-Wforce-pushed the add-test-case-to-AzureContainerInstanceHook-when-credential-is-not-provided-from-conn branch from 7ed28c8 to ad6c0f2CompareSeptember 1, 2023 07:27
Comment threadpyproject.toml Outdated
@Lee-W

Lee-W commented Sep 1, 2023

Copy link
Copy Markdown
MemberAuthor

It seems the CI failure has been fixed in #34001. I'll wait for the PR to be merged and rebase that back to this one.

@eladkal
eladkal merged commit 0fac318 into apache:mainSep 1, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Lee-W@uranusjr@phanikumv@pankajastro@eladkal