Skip to content

Fix test assertions for functional Enum syntax#71

Merged
xnuinside merged 1 commit intomainfrom
fix_ci
Jan 18, 2026
Merged

Fix test assertions for functional Enum syntax#71
xnuinside merged 1 commit intomainfrom
fix_ci

Conversation

@xnuinside
Copy link
Owner

Update test assertions to match the functional Enum format introduced in PR #69. The new enum template generates:

Status = Enum(value='Status', names=[...])

Instead of the previous class-based syntax:

class Status(str, Enum):

Tests updated:

  • test_from_pydantic_to_dataclass
  • test_pydantic_v2_enums

Update test assertions to match the functional Enum format
introduced in PR #69. The new enum template generates:

  Status = Enum(value='Status', names=[...])

Instead of the previous class-based syntax:

  class Status(str, Enum):

Tests updated:
- test_from_pydantic_to_dataclass
- test_pydantic_v2_enums
@xnuinside xnuinside merged commit 734ebd7 into main Jan 18, 2026
7 checks passed
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.

1 participant