]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix tests that were failing due to a unicode string in argv. refs #2375
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Feb 2015 21:55:03 +0000 (21:55 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 31 Mar 2015 16:52:38 +0000 (17:52 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_cli.py

index 3c73d7069f66d268c08773e01f4b766a23767730..2eb6dd9e34603d39ea0ae1119da62787ab980250 100644 (file)
@@ -49,7 +49,7 @@ def parse_options(basedir, command, args):
 class CLITestMixin(ReallyEqualMixin):
     def do_cli(self, verb, *args, **kwargs):
         nodeargs = [
-            "--node-directory", self.get_clientdir(),
+            "--node-directory", unicode_to_argv(self.get_clientdir()),
             ]
         argv = nodeargs + [verb] + list(args)
         stdin = kwargs.get("stdin", "")