Lines Matching refs:sendcmd
494 self.assertRaises(ValueError, self.client.sendcmd, 'echo 40\r\n0')
495 self.assertRaises(ValueError, self.client.sendcmd, 'echo 40\n0')
496 self.assertRaises(ValueError, self.client.sendcmd, 'echo 40\r0')
497 self.assertRaises(ftplib.error_temp, self.client.sendcmd, 'echo 400')
498 self.assertRaises(ftplib.error_temp, self.client.sendcmd, 'echo 499')
499 self.assertRaises(ftplib.error_perm, self.client.sendcmd, 'echo 500')
500 self.assertRaises(ftplib.error_perm, self.client.sendcmd, 'echo 599')
501 self.assertRaises(ftplib.error_proto, self.client.sendcmd, 'echo 999')
708 self.client.sendcmd('noop')
716 self.client.sendcmd('noop')
724 self.client.sendcmd('noop')
734 self.client.sendcmd('noop')
783 self.assertRaises(ftplib.Error, self.client.sendcmd,
787 self.client.sendcmd('SETLONGRETR %d' % (self.client.maxline * 2))