Skip to content

Improve error message when test_models_contain_only_known_file_types fails#10139

Merged
ashovlin merged 1 commit intoaws:v2from
ashovlin:shovlia/model-validation-error
Mar 18, 2026
Merged

Improve error message when test_models_contain_only_known_file_types fails#10139
ashovlin merged 1 commit intoaws:v2from
ashovlin:shovlia/model-validation-error

Conversation

@ashovlin
Copy link
Copy Markdown
Member

Issue #, if available: N/A

Description of changes: I had a .DS_Store locally that was causing this test to fail. Because it splits on the ., the error that '' was not in known_types was confusing. This adds a more verbose error message to the assertion.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AndrewAsseily
Copy link
Copy Markdown
Contributor

Thanks!

@ashovlin ashovlin merged commit 26bb301 into aws:v2 Mar 18, 2026
46 checks passed
@ashovlin ashovlin deleted the shovlia/model-validation-error branch March 18, 2026 14:25
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