mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 00:45:52 +00:00
Switch another test to the adoption method
This commit is contained in:
parent
711d63960d
commit
62836b6858
@ -913,8 +913,8 @@ class NonV1Server(SystemTestMixin, unittest.TestCase):
|
||||
tub = Tub()
|
||||
tub.setOption("expose-remote-exception-types", False)
|
||||
tub.setServiceParent(self.parent)
|
||||
portnum = iputil.allocate_tcp_port()
|
||||
tub.listenOn("tcp:%d" % portnum)
|
||||
portnum, endpoint = foolscapEndpointForPortNumber(None)
|
||||
tub.listenOn(endpoint)
|
||||
tub.setLocation("localhost:%d" % portnum)
|
||||
|
||||
c = IntroducerClient(tub, self.introducer_furl,
|
||||
|
Loading…
x
Reference in New Issue
Block a user