Skip to content

Commit

Permalink
Fix tests issue
Browse files Browse the repository at this point in the history
  • Loading branch information
promans718 committed Oct 8, 2024
1 parent 2a579a5 commit b03b631
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion toolium/test/utils/test_dataset_map_param_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ class Context(object):
}
with pytest.raises(Exception) as excinfo:
map_param("[CONTEXT:list.cmsScrollableActions.-5.id]")
assert "IndexError: list index out of range" == str(excinfo.value)
assert "list index out of range" == str(excinfo.value)


def test_a_context_param_list_oob_index():
Expand Down
4 changes: 2 additions & 2 deletions toolium/test/utils/test_dataset_replace_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ def test_replace_param_dict():

def test_replace_param_dict_json_format():
param = replace_param('[DICT:{"key": "value", "key_2": true}]')
assert param == '{"key": "value", "key_2": True}'
assert param == {"key": "value", "key_2": True}
param = replace_param('[DICT:{"key": "value", "key_2": null}]')
assert param == '{"key": "value", "key_2": null}'
assert param == {"key": "value", "key_2": None}


def test_replace_param_upper():
Expand Down

0 comments on commit b03b631

Please sign in to comment.