Instead of just mocking the binary also write a log of the way it got called so that tests can use this to check if the right options are passed. Note that the API should be improved here, instead of returning a "naked" path to the calllog file there should be a class wrapping it. And of course there should be tests. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| imports.py | ||