motivate its existence a bit more

This commit is contained in:
Jean-Paul Calderone 2020-12-10 07:04:28 -05:00
parent c39f7721af
commit 4bb28cadcb
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ def run_cli_bytes(verb, *args, **kwargs):
Run a Tahoe-LAFS CLI command specified as bytes.
Most code should prefer ``run_cli_unicode`` which deals with all the
necessary encoding considerations.
necessary encoding considerations. This helper still exists so that novel
misconfigurations can be explicitly tested (for example, receiving UTF-8
bytes when the system encoding claims to be ASCII).
:param bytes verb: The command to run. For example, ``b"create-node"``.