From: David Stainton Date: Wed, 15 Jul 2015 22:37:40 +0000 (-0700) Subject: Make alice bob test use non-ascii chars in nicknames X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=2fc91292283bce0362584bb82eca2b5d04ccc64d;p=tahoe-lafs%2Ftahoe-lafs.git Make alice bob test use non-ascii chars in nicknames --- diff --git a/src/allmydata/test/test_cli_magic_folder.py b/src/allmydata/test/test_cli_magic_folder.py index 5ffe3dfd..6199a3c3 100644 --- a/src/allmydata/test/test_cli_magic_folder.py +++ b/src/allmydata/test/test_cli_magic_folder.py @@ -108,11 +108,11 @@ class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin): def setup_alice_and_bob(self): self.set_up_grid(num_clients=2) - alice_dir = abspath_expanduser_unicode(u"Alice", base=self.basedir) + alice_dir = abspath_expanduser_unicode(u"Alice\u00F8", base=self.basedir) self.mkdir_nonascii(alice_dir) alice_magic_dir = abspath_expanduser_unicode(u"Alice-magic", base=self.basedir) self.mkdir_nonascii(alice_magic_dir) - bob_dir = abspath_expanduser_unicode(u"Bob", base=self.basedir) + bob_dir = abspath_expanduser_unicode(u"Bob\u00F8", base=self.basedir) self.mkdir_nonascii(bob_dir) bob_magic_dir = abspath_expanduser_unicode(u"Bob-magic", base=self.basedir) self.mkdir_nonascii(bob_magic_dir) @@ -120,7 +120,7 @@ class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin): # Alice creates a Magic Folder, # invites herself then and joins. d = self.do_create_magic_folder(0) - d.addCallback(lambda x: self.do_invite(0, u"Alice")) + d.addCallback(lambda x: self.do_invite(0, u"Alice\u00F8")) def get_invitecode(result): self.invitecode = result[1].strip() d.addCallback(get_invitecode) @@ -136,7 +136,7 @@ class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin): d.addCallback(get_Alice_magicfolder) # Alice invites Bob. Bob joins. - d.addCallback(lambda x: self.do_invite(0, u"Bob")) + d.addCallback(lambda x: self.do_invite(0, u"Bob\u00F8")) def get_invitecode(result): self.invitecode = result[1].strip() d.addCallback(get_invitecode)