예제 #1
0
    def setUp(self):
        authentication.getpass = GetPass()  # override 'getpass' module
        self.ca = authentication.ClientAuthenticator()
        self.ba = authentication.BusCookieAuthenticator()
        self.reply = None

        self.ca.beginAuthentication(self)
예제 #2
0
    def setUp(self):
        self.ba = authentication.BusCookieAuthenticator()
        self.t = tempfile.mkdtemp()

        self.ba.cookie_file = os.path.join(self.t, 'nomnomnom')
예제 #3
0
 def setUp(self):
     self.ba = authentication.BusCookieAuthenticator()