-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15175/#review28513
-----------------------------------------------------------


4.2: b18e730108e6a24e00c372e3c56c655ff51106ba

- Girish Shilamkar


On Nov. 1, 2013, 7:44 a.m., Santhosh Edukulla wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15175/
> -----------------------------------------------------------
> 
> (Updated Nov. 1, 2013, 7:44 a.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and Prasanna Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> The purpose is to verify a given element in list at a given position with few 
> error checks like list type,empty list and position
> Returns appropriate codes based upon the inputs. Can be used under tests 
> instead of multiple asserts
>  
> Earlier, there was a list validity function, this is on top of that.
>    
> Need to go to both master and 4.2
> 
> 
> Diffs
> -----
> 
>   tools/marvin/marvin/codes.py bd01ad3 
>   tools/marvin/marvin/integration/lib/utils.py b6e38ec 
> 
> Diff: https://reviews.apache.org/r/15175/diff/
> 
> 
> Testing
> -------
> 
> Tested.
> 
> >>> from utils import verifyElementInList
> >>> a=[1,2,3]
> >>> verifyElementInList(a,2)
> [0, 'ELEMENT NOT FOUND IN THE INPUT']
> >>> verifyElementInList(a,1)
> [1, None]
> >>> verifyElementInList(a,3)
> [0, 'ELEMENT NOT FOUND IN THE INPUT']
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>

Reply via email to