Message249078
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 |
|
Date |
User |
Action |
Args |
2015-08-24 23:18:03 | marcosptf | set | recipients:
+ marcosptf |
2015-08-24 23:18:03 | marcosptf | set | messageid: <1440458283.72.0.838708859069.issue24930@psf.upfronthosting.co.za> |
2015-08-24 23:18:03 | marcosptf | link | issue24930 messages |
2015-08-24 23:18:03 | marcosptf | create | |
|