Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: review "smoke" marker #2655

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cardano_node_tests/tests/test_addr_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def pool_users_disposable(
return pool_users


@pytest.mark.smoke
class TestRegisterAddr:
"""Tests for stake address registration and deregistration."""

@allure.link(helpers.get_vcs_link())
@common.PARAM_USE_BUILD_CMD
@pytest.mark.smoke
@pytest.mark.testnets
@pytest.mark.dbsync
def test_deregister_registered(
Expand Down Expand Up @@ -194,6 +194,7 @@ def _build_dereg() -> clusterlib.TxRawOutput:

@allure.link(helpers.get_vcs_link())
@common.PARAM_USE_BUILD_CMD
@pytest.mark.smoke
@pytest.mark.testnets
@pytest.mark.dbsync
def test_addr_registration_deregistration(
Expand Down Expand Up @@ -287,6 +288,7 @@ def test_addr_registration_deregistration(
@allure.link(helpers.get_vcs_link())
@submit_utils.PARAM_SUBMIT_METHOD
@common.PARAM_USE_BUILD_CMD
@pytest.mark.smoke
@pytest.mark.testnets
@pytest.mark.dbsync
def test_addr_registration_certificate_order(
Expand Down Expand Up @@ -378,11 +380,11 @@ def test_addr_registration_certificate_order(
assert user_registered.stake.address in tx_db_record.stake_deregistration


@pytest.mark.smoke
class TestNegative:
"""Tests that are expected to fail."""

@allure.link(helpers.get_vcs_link())
@pytest.mark.smoke
@pytest.mark.testnets
def test_registration_cert_with_wrong_key(
self,
Expand All @@ -406,6 +408,7 @@ def test_registration_cert_with_wrong_key(
assert "Expected: StakeVerificationKeyShelley" in err_msg, err_msg

@allure.link(helpers.get_vcs_link())
@pytest.mark.smoke
@pytest.mark.testnets
def test_register_addr_with_wrong_key(
self,
Expand Down Expand Up @@ -444,6 +447,7 @@ def test_register_addr_with_wrong_key(

@allure.link(helpers.get_vcs_link())
@common.PARAM_USE_BUILD_CMD
@pytest.mark.smoke
@pytest.mark.testnets
def test_deregister_not_registered_addr(
self,
Expand Down
Loading
Loading