Open jjerphan opened 3 weeks ago
This can be implemented by introducing always_no
similarly to the already existing always_yes
which could be triggered via a --no
flag, in which case one would need to prevent its interactions with --no
.
An alternative is to prepend echo n |
to the command executed by the sub-process via the python helpers
.
Currently only the
y
case and dry-run can be tested with--yes
and--dry-run
respectively.There's no way to test the
n
case as briefly discussed in #3450.We must be able to test all interactive cases of the CLI.