Some passing tests on Python 3.

This commit is contained in:
Itamar Turner-Trauring
2020-10-16 10:47:49 -04:00
parent c2fe5a65a6
commit bcd7cdf86f
4 changed files with 8 additions and 6 deletions

View File

@ -628,7 +628,7 @@ def storage_enabled(config):
:return bool: ``True`` if storage is enabled, ``False`` otherwise.
"""
return config.get_config(b"storage", b"enabled", True, boolean=True)
return config.get_config("storage", "enabled", True, boolean=True)
def anonymous_storage_enabled(config):
@ -1020,7 +1020,7 @@ class _Client(node.Node, pollmixin.PollMixin):
def init_control(self):
c = ControlServer()
c.setServiceParent(self)
control_url = self.control_tub.registerReference(c)
control_url = self.control_tub.registerReference(c).encode("utf-8")
self.config.write_private_config("control.furl", control_url + b"\n")
def init_helper(self):