-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df324ea
commit cbe2bb1
Showing
1 changed file
with
12 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Change default behaviour of `run_rool`: | ||
|
||
1. The default value of `raises` is now `True`. That means, when using | ||
`run_tool`, the Exceptions raised by a Tool will be re-raised. The raised | ||
exceptions can be tested for their type and content. | ||
If the Tool must fail and only the non-zero error case is important to test, | ||
set `raises=False` (as it was before). | ||
|
||
2. If the `cwd` parameter is `None` (as per default), now a temporary directory | ||
is used instead of the directory, where `run_tool` is called (typically via | ||
pytest). This way, log-files and other output files don't clutter your | ||
working space. |