mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-19 00:06:57 +00:00
Fix bug which meant object could not be created.
This commit is contained in:
parent
5af0ead5b9
commit
74a121da74
@ -330,9 +330,9 @@ class StorageClientFactory:
|
||||
|
||||
# If set, we're doing unit testing and we should call this with any
|
||||
# HTTPConnectionPool that gets passed/created to ``create_agent()``.
|
||||
TEST_MODE_REGISTER_HTTP_POOL = ClassVar[
|
||||
TEST_MODE_REGISTER_HTTP_POOL: ClassVar[
|
||||
Optional[Callable[[HTTPConnectionPool], None]]
|
||||
]
|
||||
] = None
|
||||
|
||||
@classmethod
|
||||
def start_test_mode(cls, callback: Callable[[HTTPConnectionPool], None]) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user