Skip to content

packages.valory.skills.registration_abci.tests.test_rounds

Test the rounds.py module of the skill.

TestRegistrationStartupRound Objects

class TestRegistrationStartupRound(BaseCollectSameUntilAllRoundTest)

Test RegistrationStartupRound.

test_run_default

@pytest.mark.parametrize("slashing_config",
                         ("", json.dumps({"valid": "config"})))
def test_run_default(slashing_config: str) -> None

Run test.

test_run_default_not_finished

def test_run_default_not_finished() -> None

Run test.

TestRegistrationRound Objects

class TestRegistrationRound(BaseCollectSameUntilThresholdRoundTest)

Test RegistrationRound.

test_run_default

def test_run_default() -> None

Run test.

test_run_default_not_finished

def test_run_default_not_finished() -> None

Run test.

test_no_majority

def test_no_majority() -> None

Test the NO_MAJORITY event.