Name:
List Should Not Contain Duplicates
Source:
Collections <test library>
Arguments:
[ list_ | msg=None ]
Fails if any element in the `list` is found from it more than once.
The default error message lists all the elements that were found from the `list` multiple times, but it can be overridden by giving a custom `msg`. All multiple times found items and their counts are also logged.
This keyword works with all iterables that can be converted to a list. The original iterable is never altered.
场景1:
场景2: