diff --git a/docs/conf.py b/docs/conf.py index 03f1490e..340ca45c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -289,7 +289,6 @@ intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} - def remove_module_docstring(app, what, name, obj, options, lines): """Remove all module docstrings to exclude license header""" if what == "module": diff --git a/toolium/test/utils/test_dataset_replace_param.py b/toolium/test/utils/test_dataset_replace_param.py index 14fabb19..8ef0055b 100644 --- a/toolium/test/utils/test_dataset_replace_param.py +++ b/toolium/test/utils/test_dataset_replace_param.py @@ -334,6 +334,7 @@ def test_replace_param_now_offsets_with_and_without_format_and_more(): datetime.datetime.utcnow() + datetime.timedelta(minutes=10), '%d/%m/%Y %H:%M:%S') assert param == f'The date {offset_date} was yesterday and I have an appointment at {offset_datetime}' + @pytest.mark.parametrize('in_param, number_of_digits_in_fractional_part, out_param', [['7.5', '2', 7.5], ['3.33333333', '3', 3.333], @@ -346,6 +347,7 @@ def test_replace_param_round_with_type_inference(in_param, number_of_digits_in_f param = replace_param(f'[ROUND:{in_param}::{number_of_digits_in_fractional_part}]') assert param == out_param + @pytest.mark.parametrize('in_param, number_of_digits_in_fractional_part, out_param', [['7.5', '2', '7.50'], ['3.33333333', '3', '3.333'],