Skip to content

packages.valory.skills.abstract_round_abci.tests.test_abci_app_chain

Test the abci_app_chain.py module of the skill.

make_round_class

def make_round_class(
    name: str, bases: Tuple = (AbstractRound, )) -> Type[AbstractRound]

Make a round class.

TestAbciAppChaining Objects

class TestAbciAppChaining()

Test chaning of AbciApps.

setup_method

def setup_method() -> None

Setup test.

test_chain_two

def test_chain_two() -> None

Test the AbciApp chain function.

test_chain_three

def test_chain_three() -> None

Test the AbciApp chain function.

test_chain_two_negative_timeouts

def test_chain_two_negative_timeouts() -> None

Test the AbciApp chain function.

test_chain_two_negative_mapping_initial_states

def test_chain_two_negative_mapping_initial_states() -> None

Test the AbciApp chain function.

test_chain_two_negative_mapping_final_states

def test_chain_two_negative_mapping_final_states() -> None

Test the AbciApp chain function.

test_chain_two_dupe

def test_chain_two_dupe() -> None

Test the AbciApp chain function.

test_chain_with_abstract_abci_app_fails

def test_chain_with_abstract_abci_app_fails() -> None

Test chaining with an abstract AbciApp fails.

test_synchronized_data_type

def test_synchronized_data_type(caplog: LogCaptureFixture) -> None

Test synchronized data type

test_precondition_for_next_app_missing_raises

def test_precondition_for_next_app_missing_raises(
        caplog: LogCaptureFixture) -> None

Test that when precondition for next AbciApp is missing an error is raised

test_precondition_app_missing_raises

def test_precondition_app_missing_raises(caplog: LogCaptureFixture) -> None

Test that missing precondition specification for next AbciApp is missing an error is raised