mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
More passing tests.
This commit is contained in:
parent
35c304cd82
commit
e3a0f61dca
@ -405,7 +405,7 @@ class FoolscapStorageServers(unittest.TestCase):
|
|||||||
verifyObject(
|
verifyObject(
|
||||||
IFoolscapStorageServer,
|
IFoolscapStorageServer,
|
||||||
_FoolscapStorage.from_announcement(
|
_FoolscapStorage.from_announcement(
|
||||||
u"server-id",
|
b"server-id",
|
||||||
SOME_FURL,
|
SOME_FURL,
|
||||||
{u"permutation-seed-base32": base32.b2a(b"permutationseed")},
|
{u"permutation-seed-base32": base32.b2a(b"permutationseed")},
|
||||||
NotStorageServer(),
|
NotStorageServer(),
|
||||||
@ -427,7 +427,7 @@ class StoragePluginWebPresence(AsyncTestCase):
|
|||||||
self.port_assigner = SameProcessStreamEndpointAssigner()
|
self.port_assigner = SameProcessStreamEndpointAssigner()
|
||||||
self.port_assigner.setUp()
|
self.port_assigner.setUp()
|
||||||
self.addCleanup(self.port_assigner.tearDown)
|
self.addCleanup(self.port_assigner.tearDown)
|
||||||
self.storage_plugin = "tahoe-lafs-dummy-v1"
|
self.storage_plugin = u"tahoe-lafs-dummy-v1"
|
||||||
|
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
_, port_endpoint = self.port_assigner.assign(reactor)
|
_, port_endpoint = self.port_assigner.assign(reactor)
|
||||||
|
Loading…
Reference in New Issue
Block a user