Skip to content
Snippets Groups Projects
Commit f5d90b8a authored by Marco Malavolti's avatar Marco Malavolti
Browse files

Added .gitgnore and small change on script

parent 5e02eeca
No related branches found
No related tags found
No related merge requests found
selenium_chromedriver.log
*.swp
...@@ -109,7 +109,14 @@ if __name__=="__main__": ...@@ -109,7 +109,14 @@ if __name__=="__main__":
#listIdPs = getIdPs() #listIdPs = getIdPs()
for idp in listIdPs: for idp in listIdPs:
result = []
for sp in sps: for sp in sps:
print("IdP '%s' on SP '%s' results into: %s" % (idp, sp, checkIdP(driver,sp,idp))) result.append(checkIdP(driver,sp,idp))
# se tutti e 2 i check sono andati bene, allora l'IdP è OK, altrimenti no.
if (result[0] == result[1] == "OK"):
print("IdP '%s' results into: OK" % (idp))
else:
print("IdP '%s' results into: NOT OK" % (idp))
driver.close() driver.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment