Skip to content

Conversation

TheWesDias
Copy link
Contributor

Summary

This PR adds a test to ensure that accessing an unknown status code in starlette.status raises AttributeError.

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.

@Kludex
Copy link
Owner

Kludex commented Oct 8, 2025

Did you face a problem that motivated you to create this test?

@TheWesDias
Copy link
Contributor Author

No. I just wanted to improve the test coverage

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