Update to work with newer Eliot

This commit is contained in:
Itamar Turner-Trauring 2023-11-15 12:15:28 -05:00
parent def7014c79
commit ffafb5d877

View File

@ -67,7 +67,7 @@ from allmydata.util import (
configutil,
jsonbytes as json,
)
from allmydata.util.eliotutil import capture_logging
from allmydata.util.eliotutil import capture_logging, BytesEliotJSONEncoder
from allmydata.util.fileutil import abspath_expanduser_unicode
from allmydata.interfaces import IFilesystemNode, IFileNode, \
IImmutableFileNode, IMutableFileNode, IDirectoryNode
@ -850,6 +850,7 @@ class StorageClients(SyncTestCase):
actionType=u"storage-client:broker:set-static-servers",
succeeded=True,
),
encoder_=BytesEliotJSONEncoder
)
def test_static_servers(self, logger):
"""
@ -884,6 +885,7 @@ class StorageClients(SyncTestCase):
actionType=u"storage-client:broker:make-storage-server",
succeeded=False,
),
encoder_=BytesEliotJSONEncoder
)
def test_invalid_static_server(self, logger):
"""