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()
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()