From: Daira Hopwood Date: Thu, 5 Feb 2015 21:55:03 +0000 (+0000) Subject: Fix tests that were failing due to a unicode string in argv. refs #2375 X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/%3C?a=commitdiff_plain;h=3d816a130f27d91d06f7aca512254879f554f97a;p=tahoe-lafs%2Ftahoe-lafs.git Fix tests that were failing due to a unicode string in argv. refs #2375 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py index 3c73d706..2eb6dd9e 100644 --- a/src/allmydata/test/test_cli.py +++ b/src/allmydata/test/test_cli.py @@ -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", "")