def setUp(self): authentication.getpass = GetPass() # override 'getpass' module self.ca = authentication.ClientAuthenticator() self.ba = authentication.BusCookieAuthenticator() self.reply = None self.ca.beginAuthentication(self)
def setUp(self): self.ba = authentication.BusCookieAuthenticator() self.t = tempfile.mkdtemp() self.ba.cookie_file = os.path.join(self.t, 'nomnomnom')
def setUp(self): self.ba = authentication.BusCookieAuthenticator()