示例#1
0
 def __init__(self):
     testCommon.login(cookieFile, 'navargas', url)
示例#2
0
 def __init__(self):
     testCommon.login(cookieFile, 'navargas', url)
示例#3
0
 def __init__(self):
     if os.path.isfile(cookieFile):
         os.remove(cookieFile)
     status = testCommon.login(cookieFile, 'navargas', url)
     assert status == 303 # Login should redirect to homepage