Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Antoine Pitrou
On Fri, 12 Nov 2010 20:31:49 -0500 Terry Reedy tjre...@udel.edu wrote: class NetworkedNNTP_SSLTests(NetworkedNNTPTestsMixin, unittest.TestCase): -NNTP_HOST = 'snews.gmane.org' -GROUP_NAME = 'gmane.comp.python.devel' -GROUP_PAT = 'gmane.comp.python.d*'

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread James Y Knight
On Nov 13, 2010, at 7:08 AM, Antoine Pitrou wrote: Funny, it shows that the NNTP SSL tests don't check the certificate, then. Unsurprising, given that you need 140 lines of pretty non-obvious python code to do so... James ___ Python-Dev mailing list

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Antoine Pitrou
On Sat, 13 Nov 2010 07:30:05 -0500 James Y Knight f...@fuhm.net wrote: On Nov 13, 2010, at 7:08 AM, Antoine Pitrou wrote: Funny, it shows that the NNTP SSL tests don't check the certificate, then. Unsurprising, given that you need 140 lines of pretty non-obvious python code to do so...

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Terry Reedy
On 11/13/2010 7:08 AM, Antoine Pitrou wrote: On Fri, 12 Nov 2010 20:31:49 -0500 Terry Reedytjre...@udel.edu wrote: class NetworkedNNTP_SSLTests(NetworkedNNTPTestsMixin, unittest.TestCase): -NNTP_HOST = 'snews.gmane.org' -GROUP_NAME = 'gmane.comp.python.devel' -

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Terry Reedy
O More specifically, if, with Thunderbird, I turn on SSL/TLS, (which switches from port 119 to 563), I get *invalid* certificate message - good for aioe.org, news.aioe,org, but not nntp.aioe.org. I believe SSL worked before the hiatus so it might be an oversight in restarting. Funny, it shows

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Bill Janssen
Antoine Pitrou solip...@pitrou.net wrote: On Sat, 13 Nov 2010 07:30:05 -0500 James Y Knight f...@fuhm.net wrote: On Nov 13, 2010, at 7:08 AM, Antoine Pitrou wrote: Funny, it shows that the NNTP SSL tests don't check the certificate, then. Unsurprising, given that you need 140 lines

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-12 Thread Terry Reedy
On 11/12/2010 7:28 PM, antoine.pitrou wrote: Author: antoine.pitrou Date: Sat Nov 13 01:28:53 2010 New Revision: 86441 Log: Switch from gmane to another provider for NNTP tests (as gmane isn't reliable enough). Also, use setUpClass in order to connect only once per test run. class