【RF库Collections测试】List Should Not Contain Duplicates

Name:
List Should Not Contain Duplicates
Source:
Collections
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:

【RF库Collections测试】List Should Not Contain Duplicates_第1张图片

 场景2:

【RF库Collections测试】List Should Not Contain Duplicates_第2张图片

 

转载于:https://www.cnblogs.com/apple2016/p/7050889.html

你可能感兴趣的:(【RF库Collections测试】List Should Not Contain Duplicates)