Skip to content

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.

Back to top