plugins.aea-ledger-fetchai.aea_
ledger_
fetchai.test_
tools.docker_
images
This module contains testing utilities.
FetchLedgerDockerImage Objects
class FetchLedgerDockerImage(DockerImage)
Wrapper to Fetch ledger Docker image.
__
init__
def __init__(client: DockerClient,
addr: str,
port: int,
tag: str,
config: Optional[Dict] = None)
Initialize the Fetch ledger Docker image.
Arguments:
client
: the Docker client.addr
: the address.port
: the port.tag
: the tagconfig
: optional configuration to command line.
tag
@property
def tag() -> str
Get the image tag.
create
def create() -> Container
Create the container.
wait
def wait(max_attempts: int = 15, sleep_rate: float = 1.0) -> bool
Wait until the image is up.