Merge pull request #906 from tahoe-lafs/3517.integration-tests-set-config-unicode

Use unicode for config in the integration tests

Fixes: ticket:3517
This commit is contained in:
Jean-Paul Calderone 2020-11-24 13:35:22 -05:00 committed by GitHub
commit fd463229a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -257,7 +257,12 @@ def _create_node(reactor, request, temp_dir, introducer_furl, flog_gatherer, nam
def created(_):
config_path = join(node_dir, 'tahoe.cfg')
config = get_config(config_path)
set_config(config, 'node', 'log_gatherer.furl', flog_gatherer)
set_config(
config,
u'node',
u'log_gatherer.furl',
flog_gatherer.decode("utf-8"),
)
write_config(config_path, config)
created_d.addCallback(created)

0
newsfragments/3517.minor Normal file
View File