Esempio n. 1
0
 def connect(self, user, passw, improto, **proxy_params):
     user = str(user)
     passw = str(passw)
     new_account = YCAccount(self.svc, user, passw, improto, **proxy_params)
     new_account.connect()
Esempio n. 2
0
    def test_acct(self):
        return
        log_info("creating new test account")
        new_account = YCAccount(self.svc, "[email protected]/", "1", yobotproto.YOBOT_JABBER)
#            proxy_host="localhost", proxy_port="3128", proxy_type="http")
        new_account.connect()