Skip to content

Collections: Support ignoring order in values when comparing dictionaries #5007

Closed
@newedgex

Description

@newedgex

Currently https://github.com/robotframework/robotframework/blob/master/src/robot/libraries/Collections.py#L839 we are missing out on ignore_order already done for

    def lists_should_be_equal(self, list1, list2, msg=None, values=True,
                              names=None, ignore_order=False, ignore_case=False):

Ref : ngoan1608@1d85220#diff-0bb57664ba32d4e2b91c6435cf0b867d630c2db282af83004073303030775bd1

Adding as well ignore_key would be much appreciated since we might deal with ID's and timestamps, and in such cases those keys are to be ignored.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions