def __init__(self): testCommon.login(cookieFile, 'navargas', url)
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