From: Zooko O'Whielacronx Date: Mon, 5 Jan 1970 11:10:55 +0000 (-0700) Subject: tests: fix comment X-Git-Tag: allmydata-tahoe-1.3.0~436 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/webapi.txt?a=commitdiff_plain;h=14444dbcc01ec2433a8d039513d9c7fd0adb72c3;p=tahoe-lafs%2Ftahoe-lafs.git tests: fix comment --- diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py index 272fbe1e..cde59bfb 100644 --- a/src/allmydata/test/test_cli.py +++ b/src/allmydata/test/test_cli.py @@ -7,12 +7,13 @@ import urllib from allmydata.util import fileutil, hashutil from allmydata import uri -# at least import the CLI scripts, even if we don't have any real tests for -# them yet. +# Test that the scripts can be imported -- although the actual tests of their functionality are +# done by invoking them in a subprocess. from allmydata.scripts import tahoe_ls, tahoe_get, tahoe_put, tahoe_rm, tahoe_cp -from allmydata.scripts.common import DEFAULT_ALIAS, get_aliases _hush_pyflakes = [tahoe_ls, tahoe_get, tahoe_put, tahoe_rm, tahoe_cp] +from allmydata.scripts.common import DEFAULT_ALIAS, get_aliases + from allmydata.scripts import cli, debug, runner from allmydata.test.common import SystemTestMixin from twisted.internet import threads # CLI tests use deferToThread