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

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:

 

posted @ 2017-06-19 22:25  垄上行  阅读(225)  评论(0编辑  收藏  举报