Skip to content

Conversation

@stevekeay
Copy link
Contributor

Adding a missing test in advance of changing this code

PydanticDeprecatedSince20: The `dict` method is deprecated; use
`model_dump` instead. Deprecated in Pydantic V2.0 to be removed in V3.0.

See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
    response = ironic_client.create_port(nb_port.dict())

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
@stevekeay stevekeay force-pushed the test-sync-interfaces branch from 3066dd4 to a1c10dd Compare April 16, 2025 11:06
@cardoe cardoe added this pull request to the merge queue Apr 16, 2025
Merged via the queue into main with commit 3ddb216 Apr 16, 2025
53 checks passed
@cardoe cardoe deleted the test-sync-interfaces branch April 16, 2025 14:54
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