packages.valory.skills.abstract_abci.tests.test_handlers
Test the handlers.py module of the skill.
AbciDialoguesServer Objects
class AbciDialoguesServer(BaseAbciDialogues)
The dialogues class keeps track of all ABCI dialogues.
__init__
def __init__(address: str) -> None
Initialize dialogues.
TestABCIHandlerOld Objects
class TestABCIHandlerOld(BaseSkillTestCase)
Test ABCIHandler methods.
setup_class
@classmethod
def setup_class(cls, **kwargs: Any) -> None
Setup the test class.
test_setup
def test_setup() -> None
Test the setup method of the echo handler.
test_teardown
def test_teardown() -> None
Test the teardown method of the echo handler.
TestABCIHandler Objects
class TestABCIHandler()
Test 'ABCIHandler'.
setup_method
def setup_method() -> None
Set up the tests.
test_setup
def test_setup() -> None
Test the setup method.
test_teardown
def test_teardown() -> None
Test the teardown method.
test_handle
def test_handle() -> None
Test the message gets handled.
test_handle_log_exception
def test_handle_log_exception() -> None
Test the message gets handled.
test_info
def test_info() -> None
Test the 'info' handler method.
test_echo
def test_echo() -> None
Test the 'echo' handler method.
test_set_option
def test_set_option() -> None
Test the 'set_option' handler method.
test_begin_block
def test_begin_block() -> None
Test the 'begin_block' handler method.
test_check_tx
def test_check_tx(*_: Any) -> None
Test the 'check_tx' handler method.
test_deliver_tx
def test_deliver_tx(*_: Any) -> None
Test the 'deliver_tx' handler method.
test_end_block
def test_end_block() -> None
Test the 'end_block' handler method.
test_commit
def test_commit() -> None
Test the 'commit' handler method.
test_flush
def test_flush() -> None
Test the 'flush' handler method.
test_init_chain
def test_init_chain() -> None
Test the 'init_chain' handler method.
test_query
def test_query() -> None
Test the 'init_chain' handler method.
test_list_snapshots
def test_list_snapshots() -> None
Test the 'list_snapshots' handler method.
test_offer_snapshot
def test_offer_snapshot() -> None
Test the 'offer_snapshot' handler method.
test_load_snapshot_chunk
def test_load_snapshot_chunk() -> None
Test the 'load_snapshot_chunk' handler method.
test_apply_snapshot_chunk
def test_apply_snapshot_chunk() -> None
Test the 'apply_snapshot_chunk' handler method.