plugins.aea-test-autonomy.aea_
test_
autonomy.helpers.base
Utilities for the Open Autonomy test tools.
tendermint_
health_
check
def tendermint_health_check(url: str,
max_retries: int = MAX_RETRIES,
sleep_interval: float = 1.0,
timeout: float = DEFAULT_REQUESTS_TIMEOUT) -> bool
Wait until a Tendermint RPC server is up.
cd
@contextlib.contextmanager
def cd(path: PathLike) -> Generator
Change working directory temporarily.
try_
send
def try_send(gen: Generator, obj: Any = None) -> None
Try to send an object to a generator.
Arguments:
gen
: the generator.obj
: the object.
identity
def identity(arg: Any) -> Any
Define an identity function.