Skip to content

Commit

Permalink
test: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Sep 19, 2024
1 parent 3adfd3e commit d5c1dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/util/test_executable_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def test_validate_executable_path_not_executable() -> None:
def test_validate_executable_path(tmp_path: Path) -> None:
"""
`validate_executable_path` should return the `yes` executable in the following scenarios:
1. When the name of the executable is passed as a string.
2. When the absolute path to the executable is passed, either as a string or a Path.
1. The name of the executable is passed as a string, and the executable is on the user's PATH.
2. The absolute path to the executable is passed, either as a string or a Path.
"""
expected_path = tmp_path / "yes"
expected_path.touch() # create the file
Expand Down

0 comments on commit d5c1dc3

Please sign in to comment.