Skip to content

Added test coverage for DomainStr validation including punycode and invalid inputs - #330

Merged
yezz123 merged 2 commits into
pydantic:mainfrom
rhealakhotia:domainstr-tests
Jul 31, 2025
Merged

yezz123 merged 2 commits into
pydantic:mainfrom
rhealakhotia:domainstr-tests

Conversation

@rhealakhotia

Copy link
Copy Markdown
Contributor
  1. Added parameterized tests for valid/invalid domain strings
  2. Included tests for punycode domains and non-string input types
  3. Ensured edge cases like trailing dots, missing TLDs, and long domains are covered

@yezz123
yezz123 merged commit 5ed9422 into pydantic:main Jul 31, 2025
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.

2 participants