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

{CI} Remove deprecated assertRaisesRegexp and assertEquals in test #8010

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bebound
Copy link
Contributor

@bebound bebound commented Sep 23, 2024

assertRaisesRegexp is removed in 3.12: Azure/azure-cli#29504
assertEquals is removed in 3.12: Azure/azure-cli#29515

Copy link

azure-client-tools-bot-prd bot commented Sep 23, 2024

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

Copy link

Hi @bebound,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Sep 23, 2024

CI

Copy link

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

Copy link

Copy link
Contributor

@Pan-Qi Pan-Qi left a comment

Choose a reason for hiding this comment

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

Missed some ending line of file, other than that LGTM

os.remove(self.kwargs['filename'])
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing ending line

self.assertIn('https://audience1', result['allowedAudiences'])
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing ending line

self.cmd('network firewall policy delete -g {rg} --name {policy_name_2}')
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing ending line

os.remove("%s" % (_get_test_data_file(managed_cluster_name + '-config.yaml')))
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing ending line

pass
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing ending line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants