mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-11 14:53:55 +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,
|
configutil,
|
||||||
jsonbytes as json,
|
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.util.fileutil import abspath_expanduser_unicode
|
||||||
from allmydata.interfaces import IFilesystemNode, IFileNode, \
|
from allmydata.interfaces import IFilesystemNode, IFileNode, \
|
||||||
IImmutableFileNode, IMutableFileNode, IDirectoryNode
|
IImmutableFileNode, IMutableFileNode, IDirectoryNode
|
||||||
@ -850,6 +850,7 @@ class StorageClients(SyncTestCase):
|
|||||||
actionType=u"storage-client:broker:set-static-servers",
|
actionType=u"storage-client:broker:set-static-servers",
|
||||||
succeeded=True,
|
succeeded=True,
|
||||||
),
|
),
|
||||||
|
encoder_=BytesEliotJSONEncoder
|
||||||
)
|
)
|
||||||
def test_static_servers(self, logger):
|
def test_static_servers(self, logger):
|
||||||
"""
|
"""
|
||||||
@ -884,6 +885,7 @@ class StorageClients(SyncTestCase):
|
|||||||
actionType=u"storage-client:broker:make-storage-server",
|
actionType=u"storage-client:broker:make-storage-server",
|
||||||
succeeded=False,
|
succeeded=False,
|
||||||
),
|
),
|
||||||
|
encoder_=BytesEliotJSONEncoder
|
||||||
)
|
)
|
||||||
def test_invalid_static_server(self, logger):
|
def test_invalid_static_server(self, logger):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user