From 65c9f923a5057c99c18f43e2c1f0284d8293d9a3 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 5 Jan 2024 07:35:04 +0300 Subject: Revert "QC: Check for only one decimal place." This reverts commit c213b0010c3ddc8d3215adab65bd489a9b884e30. After a larger discussion with Arthur, Rob and Pjotr present, it was verified that the strict checks are important. This reverts the commit that allowed for looser checks. --- tests/qc/test_cells_average.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/qc/test_cells_average.py') diff --git a/tests/qc/test_cells_average.py b/tests/qc/test_cells_average.py index cf23e13..68fd4ec 100644 --- a/tests/qc/test_cells_average.py +++ b/tests/qc/test_cells_average.py @@ -1,14 +1,10 @@ """Test average values.""" from random import randint - -import pytest from hypothesis import given from hypothesis import strategies as st from quality_control.average import invalid_value as avg_invalid_value -@pytest.mark.skip(reason=("Checks changed. We now enforce values must have at " - "least one decimal place")) @given(num_str=st.from_regex(r"^[0-9]+$", fullmatch=True)) def test_cell_average_value_pass_if_no_decimal_places(num_str): """ -- cgit v1.2.3