From 0d6cd556e6ae2c3e2596de178949659621ab0620 Mon Sep 17 00:00:00 2001 From: Patricia Roman Sanchez Date: Wed, 9 Oct 2024 09:36:27 +0200 Subject: [PATCH] Fix pull request issues --- toolium/test/utils/test_dataset_map_param_context.py | 1 - toolium/test/utils/test_dataset_replace_param.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/toolium/test/utils/test_dataset_map_param_context.py b/toolium/test/utils/test_dataset_map_param_context.py index bbf08cb8..8f6d4339 100644 --- a/toolium/test/utils/test_dataset_map_param_context.py +++ b/toolium/test/utils/test_dataset_map_param_context.py @@ -568,7 +568,6 @@ def __init__(self): context.list = ExampleClass() dataset.behave_context = context - print(context) with pytest.raises(Exception) as excinfo: map_param("[CONTEXT:list.cmsScrollableActions.prueba.id]") assert "the expression 'prueba' was not able to select an element in the list" == str(excinfo.value) diff --git a/toolium/test/utils/test_dataset_replace_param.py b/toolium/test/utils/test_dataset_replace_param.py index 362c0e3b..ca19c220 100644 --- a/toolium/test/utils/test_dataset_replace_param.py +++ b/toolium/test/utils/test_dataset_replace_param.py @@ -463,6 +463,6 @@ def test_replace_param_title(): def test_replace_param_round(): param = replace_param('[ROUND:7.5::2]') - assert param == "7.50" + assert param == 7.5 param = replace_param('[ROUND:3.33333333::3]') - assert param == "3.333" + assert param == 3.333