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

add testcases #2822

Merged
merged 6 commits into from
Sep 12, 2024
Merged

add testcases #2822

merged 6 commits into from
Sep 12, 2024

Conversation

ChenxiJiang333
Copy link
Member

Add testcases for several cadl-ranch scenarios

@@ -209,3 +209,76 @@ async def test_nested_proxy_resources_list_by_top_level_tracked_resource(client)
assert result.name == "nested"
assert result.type == "Azure.ResourceManager.Models.Resources/topLevelTrackedResources/top/nestedProxyResources"
assert result.system_data.created_by == "AzureSDK"


@pytest.mark.asyncio
Copy link
Member

Choose a reason for hiding this comment

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

@ChenxiJiang333 Please run pnpm change add to add changelog.

Copy link
Member Author

Choose a reason for hiding this comment

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

@msyyc updated

)


# @pytest.mark.asyncio
Copy link
Contributor

Choose a reason for hiding this comment

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

can we delete these commented out tests?

Copy link
Member

Choose a reason for hiding this comment

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

It is not bad to keep it. After we fix the codegen, we could open the commented code directly.

@iscai-msft
Copy link
Contributor

thank you @ChenxiJiang333 for contributing!

@msyyc msyyc merged commit 2b29fe0 into Azure:main Sep 12, 2024
15 checks passed
@ChenxiJiang333 ChenxiJiang333 deleted the add-testcase branch September 12, 2024 05:48
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.

3 participants