Loading libraries/assertionUtils.py +2 −2 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ def compare_dictionaries_ignoring_keys(dict1, dict2, exclude_regex_paths): """Function exposed as a keyword to compare two dictionaries :param dict1: actual dictionary :param dict2: expected dictionary :param exclude_regex_paths: list of regex paths of keys to be ignored :param exclude_regex_paths: regex path of keys to be ignored """ res = DeepDiff(dict1, dict2, exclude_regex_paths=[exclude_regex_paths], ignore_order=True) print(res) Loading requirements.txt +1 −1 File changed.Contains only whitespace changes. Show changes Loading
libraries/assertionUtils.py +2 −2 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ def compare_dictionaries_ignoring_keys(dict1, dict2, exclude_regex_paths): """Function exposed as a keyword to compare two dictionaries :param dict1: actual dictionary :param dict2: expected dictionary :param exclude_regex_paths: list of regex paths of keys to be ignored :param exclude_regex_paths: regex path of keys to be ignored """ res = DeepDiff(dict1, dict2, exclude_regex_paths=[exclude_regex_paths], ignore_order=True) print(res) Loading