aboutsummaryrefslogtreecommitdiff
path: root/tests/qc/test_cells.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qc/test_cells.py')
-rw-r--r--tests/qc/test_cells.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qc/test_cells.py b/tests/qc/test_cells.py
index f5411fe..51e8bcf 100644
--- a/tests/qc/test_cells.py
+++ b/tests/qc/test_cells.py
@@ -10,6 +10,7 @@ from quality_control.errors import InvalidValue
from quality_control.average import invalid_value as avg_invalid_value
from quality_control.standard_error import invalid_value as se_invalid_value
+@pytest.mark.unit_test
@given(num_str=st.from_regex(
r"^(?!([0-9]+\.[0-9]{1,}|0+)).*", fullmatch=True))
def test_cell_value_errors_with_invalid_inputs2(num_str):
@@ -48,6 +49,7 @@ def test_cell_average_value_errors_if_not_three_decimal_places2(num_str):
f"Invalid value '{num_str}'. Expected string representing a number "
"with exactly three decimal places."))
+@pytest.mark.unit_test
@given(num_str=st.from_regex(r"^[0-9]+\.[0-9]{1,}$", fullmatch=True))
def test_cell_average_value_pass_if_three_decimal_places(num_str):
"""
@@ -77,7 +79,7 @@ def test_cell_standard_error_value_errors_if_less_than_six_decimal_places2(num_s
f"Invalid value '{num_str}'. Expected string representing a number "
"with at least six decimal places."))
-
+@pytest.mark.unit_test
@given(num_str=st.from_regex(r"^[0-9]+\.[0-9]{1,}$", fullmatch=True))
def test_cell_standard_error_value_pass_if_six_or_more_decimal_places(num_str):
"""