diff options
author | Frederick Muriuki Muriithi | 2024-01-05 07:35:04 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-05 07:35:04 +0300 |
commit | 65c9f923a5057c99c18f43e2c1f0284d8293d9a3 (patch) | |
tree | df89b2f06cf14c7e161598477c22f055576a7848 /tests/qc/test_cells_average.py | |
parent | 5f5cc8503ec10319ee4d9e7d6bd739cc6190561c (diff) | |
download | gn-uploader-65c9f923a5057c99c18f43e2c1f0284d8293d9a3.tar.gz |
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.
Diffstat (limited to 'tests/qc/test_cells_average.py')
-rw-r--r-- | tests/qc/test_cells_average.py | 4 |
1 files changed, 0 insertions, 4 deletions
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): """ |