John Aherne
2016-04-04 09:32:31 UTC
The failure is in test_agent
test_setsTrustRootOnContextDefaultTrustRoot
This fails if wincertstore is available with this failure:-
twisted.trial.unittest.FailTest:
<twisted.internet._sslverify.OpenSSLWindowsCertificateAuthorities object at
0x037DB2B0> is not an instance of <class
'twisted.internet._sslverify.OpenSSLDefaultPaths'>
This is because the patch from aaron which I have applied
has_sslverify.platformTrust check for wincertstore and does not return
OpenSSLDefaultPaths but returns
_sslverify.OpenSSLWindowsCertificateAuthorities
The solution I followed was to add a test to specifically check for a
return of OpenSSLWindowscertificateAuthorities if wincertstore was
available otherwise to skip it.
The other part was to skip the test for
test_setsTrustRootOnContextDefaultTrustRoot
if wincertstore was available
The error message comes from the tests for the root name servers.
I just need to fix that so I have a clean test run before making any
changes.
I just can't see what the problem is with the error
Thanks
test_setsTrustRootOnContextDefaultTrustRoot
This fails if wincertstore is available with this failure:-
twisted.trial.unittest.FailTest:
<twisted.internet._sslverify.OpenSSLWindowsCertificateAuthorities object at
0x037DB2B0> is not an instance of <class
'twisted.internet._sslverify.OpenSSLDefaultPaths'>
This is because the patch from aaron which I have applied
has_sslverify.platformTrust check for wincertstore and does not return
OpenSSLDefaultPaths but returns
_sslverify.OpenSSLWindowsCertificateAuthorities
The solution I followed was to add a test to specifically check for a
return of OpenSSLWindowscertificateAuthorities if wincertstore was
available otherwise to skip it.
The other part was to skip the test for
test_setsTrustRootOnContextDefaultTrustRoot
if wincertstore was available
The error message comes from the tests for the root name servers.
I just need to fix that so I have a clean test run before making any
changes.
I just can't see what the problem is with the error
Thanks
--
*John Aherne*
*www.rocs.co.uk <http://www.rocs.co.uk>*
020 7223 7567
*John Aherne*
*www.rocs.co.uk <http://www.rocs.co.uk>*
020 7223 7567