Skip to content

packages.valory.skills.abstract_round_abci.test_tools.abci_app

ABCI App test tools.

_ConcreteRound Objects

class _ConcreteRound(AbstractRound,  ABC)

ConcreteRound

end_block

def end_block() -> Union[None, Tuple[MagicMock, MagicMock]]

End block.

check_payload

def check_payload(payload: BaseTxPayload) -> None

Check payload.

process_payload

def process_payload(payload: BaseTxPayload) -> None

Process payload.

ConcreteRoundA Objects

class ConcreteRoundA(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

end_block

def end_block() -> Tuple[MagicMock, MagicMock]

End block.

ConcreteRoundB Objects

class ConcreteRoundB(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

ConcreteRoundC Objects

class ConcreteRoundC(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

ConcreteBackgroundRound Objects

class ConcreteBackgroundRound(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

ConcreteTerminationRoundA Objects

class ConcreteTerminationRoundA(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

ConcreteTerminationRoundB Objects

class ConcreteTerminationRoundB(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

ConcreteTerminationRoundC Objects

class ConcreteTerminationRoundC(_ConcreteRound)

Dummy instantiation of the AbstractRound class.

ConcreteEvents Objects

class ConcreteEvents(Enum)

Defines dummy events to be used for testing purposes.

__str__

def __str__() -> str

Get the string representation of the event.

AbciAppTest Objects

class AbciAppTest(AbciApp[ConcreteEvents])

A dummy AbciApp for testing purposes.