mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-29 17:28:53 +00:00
802cfc87fe
In addition, CLI functions are allowed to use sys.exit() instead of always needing to return the exit code as an integer. runner.py now knows about the blocking httplib calls in scripts/cli and scripts/magic_folder, and uses deferToThread() to invoke them. Those functions cannot return a Deferred: when rewrite them to use twisted.web or treq, we'll remove this deferToThread call. Option parsing was split out to a separate function for testing. We now use twisted.internet.task.react() to start the reactor, which required changing the way runner.py is tested. closes ticket:2826 |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
test_backup.py | ||
test_check.py | ||
test_cli.py | ||
test_cp.py | ||
test_create_alias.py | ||
test_create.py | ||
test_list.py | ||
test_magic_folder.py | ||
test_mv.py | ||
test_put.py |