Name:Remove Values From ListSource:Collections <test library>Arguments:[ list_ | *values ]Removes all occurences of given `values` from `list`. It is not an error is a value does not exist in the list at all.…
Name:Remove From ListSource:Collections <test library>Arguments:[ list_ | index ]Removes and returns the value specified with an `index` from `list`. Index '0' means the first position, '1' the second and so on. Similarly, '-1' is the last position,…
Name:Remove DuplicatesSource:Collections <test library>Arguments:[ list_ ]Returns a list without duplicates based on the given `list`. Creates and returns a new list that contains all items in the given list so that one item can appear only once. Or…
Name:Count Values In ListSource:Collections <test library>Arguments:[ list_ | value | start=0 | end=None ]Returns the number of occurrences of the given `value` in `list`. The search can be narrowed to the selected sublist by the `start` and `end` i…
Name:Remove From DictionarySource:Collections <test library>Arguments:[ dictionary | *keys ]Removes the given `keys` from the `dictionary`. If the given `key` cannot be found from the `dictionary`, it is ignored. 场景1: 场景2:…
Name:Get Dictionary ValuesSource:Collections <test library>Arguments:[ dictionary ]Returns values of the given dictionary. Values are returned sorted according to keys. The given dictionary is never altered by this keyword.…
Name:Get Slice From ListSource:Collections <test library>Arguments:[ list_ | start=0 | end=None ]Returns a slice of the given list between `start` and `end` indexes. The given list is never altered by this keyword. If both `start` and `end` are give…
Name:Dictionary Should Contain Sub DictionarySource:Collections <test library>Arguments:[ dict1 | dict2 | msg=None | values=True ]Fails unless all items in `dict2` are found from `dict1`. See `Lists Should Be Equal` for an explanation of `msg`. The…
Name:Dictionaries Should Be EqualSource:Collections <test library>Arguments:[ dict1 | dict2 | msg=None | values=True ]Fails if the given dictionaries are not equal. First the equality of dictionaries' keys is checked and after that all the key value…
场景一:msg=None 场景二:自定义msg 场景三:自定义msg和values,且values为布尔类型False或者字符串False和No Values 场景四:自定义msg和values,且values不是布尔类型False或者字符串False和No Values…