mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
Just use a real Tub for this case
This commit is contained in:
parent
c3aff634a0
commit
34b5068f5c
@ -505,11 +505,13 @@ class StoragePluginWebPresence(AsyncTestCase):
|
||||
)
|
||||
|
||||
|
||||
def make_broker(tub_maker=lambda h: Mock()):
|
||||
def make_broker(tub_maker=None):
|
||||
"""
|
||||
Create a ``StorageFarmBroker`` with the given tub maker and an empty
|
||||
client configuration.
|
||||
"""
|
||||
if tub_maker is None:
|
||||
tub_maker = lambda handler_overrides: Tub()
|
||||
return StorageFarmBroker(True, tub_maker, EMPTY_CLIENT_CONFIG)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user