From cee79f97ec748204f3d9e8b18a0f8f1075a996a5 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Wed, 18 Sep 2024 17:24:12 +0200 Subject: [PATCH] fix(tests): correct comments and decorators in tests Corrected a typo in a comment in `test_rollback.py` and adjusted the position of the `@pytest.mark.dbsync` decorator in `test_committee.py` for better readability. --- cardano_node_tests/tests/test_rollback.py | 2 +- cardano_node_tests/tests/tests_conway/test_committee.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano_node_tests/tests/test_rollback.py b/cardano_node_tests/tests/test_rollback.py index f7d90c681..d13644b04 100644 --- a/cardano_node_tests/tests/test_rollback.py +++ b/cardano_node_tests/tests/test_rollback.py @@ -436,7 +436,7 @@ def test_permanent_fork( ) # After both clusters has produced more than `securityParam` number of blocks while the - # topology was fragmented, it is not possible to bring the the clusters back + # topology was fragmented, it is not possible to bring the network back # into global consensus. self.node_wait_for_block(cluster_obj=cluster, node="pool1", block_no=final_block) self.node_wait_for_block(cluster_obj=cluster, node=LAST_POOL_NAME, block_no=final_block) diff --git a/cardano_node_tests/tests/tests_conway/test_committee.py b/cardano_node_tests/tests/tests_conway/test_committee.py index f062a85ba..f772d6f21 100644 --- a/cardano_node_tests/tests/tests_conway/test_committee.py +++ b/cardano_node_tests/tests/tests_conway/test_committee.py @@ -143,8 +143,8 @@ def test_register_hot_key_no_cc_member( @allure.link(helpers.get_vcs_link()) @submit_utils.PARAM_SUBMIT_METHOD @common.PARAM_USE_BUILD_CMD - @pytest.mark.dbsync @pytest.mark.parametrize("threshold_type", ("fraction", "decimal")) + @pytest.mark.dbsync @pytest.mark.smoke def test_update_committee_action( self,