Skip to content

Fail tests if complain_on_error=False but no error happens#1171

Merged
mosteo merged 1 commit into
alire-project:masterfrom
mosteo:fix/complain
Sep 14, 2022
Merged

Fail tests if complain_on_error=False but no error happens#1171
mosteo merged 1 commit into
alire-project:masterfrom
mosteo:fix/complain

Conversation

@mosteo

@mosteo mosteo commented Sep 1, 2022

Copy link
Copy Markdown
Member

This removes the need to assert that an expected failure indeed happened, and
hardens tests against situations where it's unclear if an error should happen.

A few tests required tweaking, in all cases because complain_on_error was wrongly used.

This removes the need to assert that the expected failure indeed happened, and
hardens tests against situations where is unclear if an error should happen.
@mosteo mosteo marked this pull request as ready for review September 1, 2022 17:04
@mosteo mosteo merged commit 1ac3cce into alire-project:master Sep 14, 2022
@mosteo mosteo deleted the fix/complain branch September 14, 2022 07:54
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