Conversation
These tests would only pass if the relevant tools were actually installed, but we're not running them.
I've pushed a sample commit with that, I think in this case it's not ideal as the name to patch is different for filesystem vs os. If I'm missing something let me know. |
Hm that's true (and it looks like you're patching the wrong path in test_os now?). Can we just patch the shutil module direclty instead though? |
1d30b12 to
6a00322
Compare
|
I pushed another version, I'm kind of ambivalent about the result though. I think in some cases this would be net beneficial but less so this one. |
mwhudson
left a comment
There was a problem hiding this comment.
Hmm I think this is OK, but well. Do what you like :-)
The probert unit tests may fail, depending on if filesystem tools are installed on the host system. We don't actually run them, that's already mocked out. Mock out the check for them existing.