From f7d54c8b893d08a3f7e304d6c451118a7adb70cd Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 13 Feb 2025 17:26:29 +0800 Subject: [PATCH] fix: change data to assert --- tests/data_integrity/test_data_integrity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data_integrity/test_data_integrity.py b/tests/data_integrity/test_data_integrity.py index 0f45065..cffefe2 100644 --- a/tests/data_integrity/test_data_integrity.py +++ b/tests/data_integrity/test_data_integrity.py @@ -27,7 +27,7 @@ class TestDataIntegrity(StepsDataAvailability): reconstructed_data = NomosCli(command="reconstruct").run(input_values=[rcv_data_json]) - assert DATA_TO_DISPERSE[0] == reconstructed_data, "Reconstructed data are not same with original data" + assert DATA_TO_DISPERSE[6] == reconstructed_data, "Reconstructed data are not same with original data" @pytest.mark.usefixtures("setup_2_node_cluster") def test_da_sampling_determines_data_presence(self): @@ -39,4 +39,4 @@ class TestDataIntegrity(StepsDataAvailability): decoded_data = NomosCli(command="reconstruct").run(input_values=[rcv_data_json], decode_only=True) - assert DATA_TO_DISPERSE[0] == decoded_data, "Retrieved data are not same with original data" + assert DATA_TO_DISPERSE[6] == decoded_data, "Retrieved data are not same with original data"