mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 08:48:01 +00:00
Fix private interface import to test_invite
This commit is contained in:
parent
b58dd2bb3b
commit
041a634d27
@ -19,8 +19,8 @@ from ...util.jsonbytes import dumps_bytes
|
||||
from ..common_util import run_cli
|
||||
from ..no_network import GridTestMixin
|
||||
from .common import CLITestMixin
|
||||
from .wormholetesting import MemoryWormholeServer, TestingHelper, memory_server
|
||||
from wormhole._interfaces import IWormhole
|
||||
from .wormholetesting import MemoryWormholeServer, TestingHelper, memory_server, IWormhole
|
||||
|
||||
|
||||
# Logically:
|
||||
# JSONable = dict[str, Union[JSONable, None, int, float, str, list[JSONable]]]
|
||||
|
@ -32,6 +32,8 @@ For example::
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
__all__ = ['IWormhole']
|
||||
|
||||
from typing import Iterator, Optional, List, Tuple, Any, TextIO
|
||||
from inspect import getfullargspec
|
||||
from itertools import count
|
||||
@ -76,7 +78,7 @@ class MemoryWormholeServer(object):
|
||||
stderr: TextIO=stderr,
|
||||
_eventual_queue: Optional[Any]=None,
|
||||
_enable_dilate: bool=False,
|
||||
) -> _MemoryWormhole:
|
||||
)-> _MemoryWormhole:
|
||||
"""
|
||||
Create a wormhole. It will be able to connect to other wormholes created
|
||||
by this instance (and constrained by the normal appid/relay_url
|
||||
|
Loading…
x
Reference in New Issue
Block a user