-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest plugin assert_error
#162
Labels
Comments
3 tasks
lengau
added
Enhancement
New feature or request
triaged
Will be worked on at some point
labels
Nov 15, 2024
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3686.
|
This is getting reverted in #311. The feature works, but I didn't catch when creating it that it's a breaking change, so we'll need to assign it to the next major release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What needs to get done
Like the various message asserts, the pytest plugin's emitter should be able to assert that the
error
method was called and check the corresponding craft error.Why it needs to get done
Right now there's no way to check that the correct error was sent to
emit.error
The text was updated successfully, but these errors were encountered: