This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author marcosptf
Recipients marcosptf
Date 2015-08-24.23:18:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440458283.72.0.838708859069.issue24930@psf.upfronthosting.co.za>
In-reply-to
Content
Hello to everyone!!!

This test https://hg.python.org/cpython/file/2.7/Lib/test/test_ssl.py on method
ContextTests.test_options, is broker becouse has a error between lines 717 ~ 719;

On 717 line, has a comment about # OP_ALL | OP_NO_SSLv2 is the default value, but
it's not true, becouse this method is fail when i run it => 
py.test Lib/test/test_ssl.py -k ContextTests 
results ===>
https://hg.python.org/cpython/file/2.7/Lib/test/test_ssl.py#l717
*** AssertionError: 2164261887 != 2197816319L

I fixed this method and i wrote new cases about test_options using a lot of options 
from ssl.PROTOCOL, for example:
ssl.PROTOCOL_TLSv1                 
ssl.PROTOCOL_TLSv1_1                
ssl.PROTOCOL_TLSv1_2
ssl.PROTOCOL_SSLv2                
ssl.PROTOCOL_SSLv23
ssl.PROTOCOL_SSLv3  


on this test_options.patch, is the test fixed!

thanks
Att

:-)
marcosptf
History
Date User Action Args
2015-08-24 23:18:03marcosptfsetrecipients: + marcosptf
2015-08-24 23:18:03marcosptfsetmessageid: <1440458283.72.0.838708859069.issue24930@psf.upfronthosting.co.za>
2015-08-24 23:18:03marcosptflinkissue24930 messages
2015-08-24 23:18:03marcosptfcreate