diff --git a/src/steps/da.py b/src/steps/da.py index 81564a9..d73aa20 100644 --- a/src/steps/da.py +++ b/src/steps/da.py @@ -35,6 +35,4 @@ class StepsDataAvailability(StepsCommon): except Exception as ex: assert "Bad Request" in str(ex) or "Internal Server Error" in str(ex) - # Extract data as a string for each index in the received order - # parsed_data = json.loads(response) return response diff --git a/tests/data_integrity/test_data_integrity.py b/tests/data_integrity/test_data_integrity.py index 7b765d5..86671fa 100644 --- a/tests/data_integrity/test_data_integrity.py +++ b/tests/data_integrity/test_data_integrity.py @@ -18,5 +18,4 @@ class TestDataIntegrity(StepsDataAvailability): def test_da_sampling_determines_data_presence(self): self.disperse_data(DATA_TO_DISPERSE[0], [0] * 31 + [1], [0] * 8) received_data = self.get_data_range([0] * 31 + [1], [0] * 8, [0] * 7 + [5]) - logger.debug(f"received data {received_data}") - assert DATA_TO_DISPERSE[0] == received_data[0] + assert DATA_TO_DISPERSE[0] == received_data[0][1].decode("utf-8")