-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: config: Fix assertions checks with pytest.raises
Create a helper function that captures an expected exception and returns the output together with stderr data. Dedent assertion checks as they were currently skipped, and make sure the correct error message is validated. Signed-off-by: Pieter De Gendt <[email protected]>
- Loading branch information
1 parent
af3fc7d
commit 3ab7d2f
Showing
2 changed files
with
27 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters