-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…5787) If the code was attached to a `Computer` with `core.ssh` transport, the `validate_filepath_executable` would always return that the computer could not be connected to. This is because the actual exception that was caught does not come from `Computer.get_transport` but is a `TypeError` raised by `transport.isfile` since it receives a `pathlib.Path` were it expects a `str`. The problem went undetected since it only tested against a computer with `core.local` transport. A new test is added to also test against a computer with `core.ssh` transport`.
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 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