<s> '''<STR_LIT>''' <EOL> from eucaweb import Eucaweb , euwebuser <EOL> import time <EOL> import qa_account_signup_tests <EOL> import qa_login_tests <EOL> import qa_add_user_tests <EOL> euadmin = euwebuser . Euwebuser ( account = "<STR_LIT>" , user = "<STR_LIT>" , passwd = '<STR_LIT>' ) <EOL> euadmin . printUser ( ) <EOL> acctadmin = euwebuser . Euwebuser ( account = "<STR_LIT>" , user = "<STR_LIT>" , passwd = "<STR_LIT:password>" , prefix = "<STR_LIT>" ) <EOL> acctadmin . printUser ( ) <EOL> newuser = euwebuser . Euwebuser ( prefix = "<STR_LIT>" , passwd = "<STR_LIT:password>" , account = acctadmin . account , user = "<STR_LIT>" ) <EOL> newuser . printUser ( ) <EOL> rejectuser = euwebuser . Euwebuser ( prefix = "<STR_LIT>" , passwd = "<STR_LIT:password>" ) <EOL> newuser . printUser ( ) <EOL> gui = Eucaweb ( host = "<STR_LIT:localhost>" , browser = "<STR_LIT>" , configFile = "<STR_LIT>" , clcpasswd = "<STR_LIT>" ) <EOL> results = [ ] <EOL> accounttests = qa_account_signup_tests . Qa_Account_SignUp_Tests ( eucagui = gui , newuser = newuser , acctadmin = acctadmin , euadmin = euadmin , results = results ) <EOL> addusertest = qa_add_user_tests . Qa_Add_User_Tests ( eucagui = gui , newuser = newuser , acctadmin = acctadmin , euadmin = euadmin , results = results ) <EOL> logintest = qa_login_tests . Qa_29_Login_Tests ( eucagui = gui , validuser = newuser , adminuser = euadmin , results = results ) <EOL> print "<STR_LIT>" <EOL> accounttests . runAllTests ( results , acctadmin , rejectuser , euadmin ) <EOL> gui . wg . printResults ( results ) <EOL> print "<STR_LIT>" <EOL> addusertest . runAllTests ( results , euadmin , newuser , acctadmin ) <EOL> gui . wg . printResults ( results ) <EOL> print "<STR_LIT>" <EOL> logintest . runAllTests ( ) <EOL> print "<STR_LIT>" <EOL> try : <EOL> accounttests . test_tbd_remove_test_account ( newuser . account , euadmin ) <EOL> accounttests . test_tbd_remove_test_account ( rejectuser . account , euadmin ) <EOL> except Exception , e : <EOL> print "<STR_LIT>" + str ( e ) <EOL> pass <EOL> finally : <EOL> gui . wg . printClosing ( ) <EOL> gui . wg . printResults ( results ) <EOL> print "<STR_LIT>" <EOL> time . sleep ( <NUM_LIT> ) <EOL> gui . tearDown ( <NUM_LIT:0> ) <EOL> print "<STR_LIT>" </s>
