Lines Matching refs:push_lit

533     def push_lit(self, lit):
541 self.push_lit("500 What?")
544 self.push_lit(self.welcome)
547 self.push_lit("205 Bye!")
550 self.push_lit("111 20100914001155")
554 self.push_lit("211 486 761 1265 fr.comp.lang.python")
556 self.push_lit("411 No such group {}".format(group))
559 self.push_lit("""\
569 self.push_lit("412 No newsgroup selected")
571 self.push_lit("223 3000234 <45223423@example.com>")
573 self.push_lit("223 0 <45223423@example.com>")
575 self.push_lit("430 No Such Article Found")
578 self.push_lit("223 3000237 <668929@example.org> retrieved")
581 self.push_lit("223 3000234 <45223423@example.com> retrieved")
585 self.push_lit("""\
596 self.push_lit("""\
602 self.push_lit("""\
606 self.push_lit("""\
620 self.push_lit("""\
625 self.push_lit("""\
631 self.push_lit("""\
635 self.push_lit('501 Unknown LIST keyword')
643 self.push_lit("""\
651 self.push_lit("""\
659 self.push_lit('too long line' * 3000 +
662 self.push_lit("""\
670 self.push_lit(
696 self.push_lit("""\
703 self.push_lit("340 Input article; end with <CR-LF>.<CR-LF>")
706 self.push_lit("440 Posting not permitted")
709 self.push_lit("240 Article received OK")
716 self.push_lit("335 Send it; end with <CR-LF>.<CR-LF>")
719 self.push_lit("435 Article not wanted")
722 self.push_lit("235 Article transferred OK")
741 self.push_lit("220 3000237 <45223423@example.com>")
743 self.push_lit("220 0 <45223423@example.com>")
745 self.push_lit("220 3000234 <45223423@example.com>")
747 self.push_lit("430 No Such Article Found")
749 self.push_lit(self.sample_article)
750 self.push_lit(".")
754 self.push_lit("221 3000237 <45223423@example.com>")
756 self.push_lit("221 0 <45223423@example.com>")
758 self.push_lit("221 3000234 <45223423@example.com>")
760 self.push_lit("430 No Such Article Found")
762 self.push_lit(self.sample_head)
763 self.push_lit(".")
767 self.push_lit("222 3000237 <45223423@example.com>")
769 self.push_lit("222 0 <45223423@example.com>")
771 self.push_lit("222 3000234 <45223423@example.com>")
773 self.push_lit("430 No Such Article Found")
775 self.push_lit(self.sample_body)
776 self.push_lit(".")
780 self.push_lit('502 Already Logged In')
783 self.push_lit('482 User Credential Already Sent')
785 self.push_lit('381 Password Required')
788 self.push_lit('281 Login Successful')
810 self.push_lit(fmt.format('\n AUTHINFO USER'))
812 self.push_lit(fmt.format(''))
826 self.push_lit('480 You must log in.')
849 self.push_lit(fmt.format(''))
851 self.push_lit(fmt.format('MODE-'))
856 self.push_lit('200 Posting allowed')
1557 self.push_lit(capabilities_response)
1568 self.push_lit(authinfo_response)