mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-07 15:43:05 +00:00
fix: change data to assert
This commit is contained in:
parent
f74002c108
commit
f7d54c8b89
@ -27,7 +27,7 @@ class TestDataIntegrity(StepsDataAvailability):
|
|||||||
|
|
||||||
reconstructed_data = NomosCli(command="reconstruct").run(input_values=[rcv_data_json])
|
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")
|
@pytest.mark.usefixtures("setup_2_node_cluster")
|
||||||
def test_da_sampling_determines_data_presence(self):
|
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)
|
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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user