in a csv file, i have a list of possible resolutions. now its giving output of "test pass" although the reso is not listed in the csv file.
Therefore, i am thinking of adding a condition that the test can only be run if the "reso" exist in csv file. how do i write the condition of this?
csv file name: PossibleResolutions.csv (containing a number of resolutions)
example:
if reso == PossibleResolution.csv and errors == '0'
print "pass"
Aucun commentaire:
Enregistrer un commentaire