mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-05 12:44:13 +00:00
The implementation can't reliably see the encoding we're faking without this
This commit is contained in:
parent
8ca98bb8ca
commit
93b30d0dde
@ -7,6 +7,7 @@ from allmydata.scripts.common import get_aliases
|
|||||||
from allmydata.test.no_network import GridTestMixin
|
from allmydata.test.no_network import GridTestMixin
|
||||||
from .common import CLITestMixin
|
from .common import CLITestMixin
|
||||||
from allmydata.util.encodingutil import quote_output_u
|
from allmydata.util.encodingutil import quote_output_u
|
||||||
|
from allmydata.util import encodingutil
|
||||||
|
|
||||||
# see also test_create_alias
|
# see also test_create_alias
|
||||||
|
|
||||||
@ -17,6 +18,8 @@ class ListAlias(GridTestMixin, CLITestMixin, unittest.TestCase):
|
|||||||
self.basedir = self.mktemp()
|
self.basedir = self.mktemp()
|
||||||
self.set_up_grid(oneshare=True)
|
self.set_up_grid(oneshare=True)
|
||||||
|
|
||||||
|
self.patch(encodingutil, "io_encoding", encoding)
|
||||||
|
|
||||||
rc, stdout, stderr = yield self.do_cli_unicode(
|
rc, stdout, stderr = yield self.do_cli_unicode(
|
||||||
u"create-alias",
|
u"create-alias",
|
||||||
[alias],
|
[alias],
|
||||||
|
Loading…
Reference in New Issue
Block a user