Lines Matching refs:NNTP
15 from nntplib import NNTP, GroupInfo
125 # NNTP has 7 mandatory fields
201 # Tolerate running the tests from behind a NNTP virus checker
210 # The server under test implements NNTP version 2 and has a
319 NNTP_CLASS = NNTP
352 # Technical limits for this public NNTP server (see http://www.aioe.org):
381 """A raw IO object allowing NNTP commands to be received and processed
432 class NNTPServer(nntplib.NNTP):
472 welcome = "200 NNTP mock server"
642 # Date was passed in RFC 3977 format (NNTP "v2")
644 230 list of newsarticles (NNTP v2) created after Mon Sep 13 08:20:04 2010 follows
650 # Date was passed in RFC 977 format (NNTP "v1")
652 230 list of newsarticles (NNTP v1) created after Mon Sep 13 08:20:04 2010 follows
795 """A handler for RFC 3977 (NNTP "v2")"""
976 "230 list of newsarticles (NNTP v{0}) "
1176 # In NNTP "v1", this will fallback on XOVER
1211 # converted by NNTP.post and NNTP.ihave.
1263 """Tests an NNTP v1 server (no capabilities)."""
1276 """Tests an NNTP v2 server (with capabilities)."""
1299 """Tests a probably NNTP v2 server with capabilities only after login."""
1489 target_api = ['NNTP', 'NNTPError', 'NNTPReplyError',
1501 nntp_class = nntplib.NNTP
1596 self.nntp = self.enterContext(NNTP(socket_helper.HOST, port, usenetrc=False))