Changeset 34b5068 in trunk
- Timestamp:
- 2020-11-24T19:18:04Z (4 years ago)
- Branches:
- master
- Children:
- 9f4be1f
- Parents:
- c3aff634
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/test/test_storage_client.py ¶
rc3aff634 r34b5068 506 506 507 507 508 def make_broker(tub_maker= lambda h: Mock()):508 def make_broker(tub_maker=None): 509 509 """ 510 510 Create a ``StorageFarmBroker`` with the given tub maker and an empty 511 511 client configuration. 512 512 """ 513 if tub_maker is None: 514 tub_maker = lambda handler_overrides: Tub() 513 515 return StorageFarmBroker(True, tub_maker, EMPTY_CLIENT_CONFIG) 514 516
Note: See TracChangeset
for help on using the changeset viewer.