From bf6dd877a0a2525c7f5cc9d6221d8fbb38b60eb6 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 5 Feb 2015 21:55:03 +0000 Subject: [PATCH] Fix tests that were failing due to a unicode string in argv. refs #2375 Signed-off-by: Daira Hopwood --- src/allmydata/test/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py index e8a493fb..98bb2b48 100644 --- a/src/allmydata/test/test_cli.py +++ b/src/allmydata/test/test_cli.py @@ -55,7 +55,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", "") -- 2.45.2