File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,12 @@ class FrontendError(Exception):
3030def load_config ():
3131 with open (path .join (path .dirname (__file__ ), "test_config.json" ), "r" ) as fd :
3232 config = json .load (fd )
33- return (config ["skips" ],
34- [k for k , v in config ["features" ].items () if v is True ])
33+ skips = config ["skips" ]
34+ features = [k for k , v in config ["features" ].items () if v is True ]
35+ import ssl
36+ if ssl .HAS_TLSv1_3 :
37+ features += ["Feature:TLS:1.3" ]
38+ return skips , features
3539
3640
3741SKIPPED_TESTS , FEATURES = load_config ()
Original file line number Diff line number Diff line change 2323 "stub.authorization.test_authorization.TestAuthorizationV4x1.test_should_fail_on_token_expired_on_begin_using_tx_function" :
2424 " Flaky: test requires the driver to contact servers in a specific order" ,
2525 "stub.session_run_parameters.test_session_run_parameters.TestSessionRunParameters.test_empty_query" :
26- " Driver rejects empty queries before sending it to the server" ,
27- "tls.tlsversions.TestTlsVersions.test_1_1" :
28- " TLSv1.1 and below are disabled in the driver"
26+ " Driver rejects empty queries before sending it to the server"
2927 },
3028 "features" : {
3129 "Feature:API:Result.Single" : " Does not raise error when not exactly one record is available. To be fixed in 5.0" ,
3533 "Feature:Auth:Kerberos" : true ,
3634 "Feature:Bolt:4.4" : true ,
3735 "Feature:Impersonation" : true ,
36+ "Feature:TLS:1.1" : " Driver blocks TLS 1.1 for security reasons" ,
37+ "Feature:TLS:1.2" : true ,
38+ "Feature:TLS:1.3" : " Depends on the machine (will be calculated dynamically)" ,
3839 "AuthorizationExpiredTreatment" : true ,
3940 "Optimization:ConnectionReuse" : true ,
4041 "Optimization:EagerTransactionBegin" : true ,
You can’t perform that action at this time.
0 commit comments