【RF库Collections测试】Dictionary Should Contain Sub Dictionary

Name:
Dictionary Should Contain Sub Dictionary
Source:
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 given dictionaries are never altered by this keyword.

场景1:

 

场景2:

场景3:

 

 

场景4:msg=${D1} does not contain sub dictionary ${D3}!!

场景5:msg=${D1} does not contain sub dictionary ${D3}!! , values=Boolean False

 

场景6:msg=${D1} does not contain sub dictionary ${D3}!! , values=String False

 

场景7:msg=${D1} does not contain sub dictionary ${D3}!! , values=No Values

 

 

posted @ 2017-06-18 23:25  垄上行  阅读(477)  评论(0编辑  收藏  举报