示例#1
0
文件: client.py 项目: mnunberg/yobot
 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()
示例#2
0
文件: client.py 项目: mnunberg/yobot
    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()