mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-18 20:47:54 +00:00
Update to work with newer Eliot
This commit is contained in:
parent
def7014c79
commit
ffafb5d877
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user