Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_cli: make it work even if the test is called interactively
rather "work" (mind the quotes): If pyinquirer is working and this was called "bare metal" (i.e., not via `pytest`), the `browse` tool stopped to ask the user for input. Since this is undesireable for a unit test, we now mock `sys.stdout.isatty()` to always return `False`. Signed-off-by: Andreas Lauser <[email protected]> Signed-off-by: Alexander Walz <[email protected]>
- Loading branch information