Merge pull request #2602 from ecordell/sni

Add test for SNI support
This commit is contained in:
Evan Cordell 2017-05-02 15:57:44 -04:00 committed by GitHub
commit 2495091a53

View file

@ -52,3 +52,8 @@ def test_signing_disabled(client):
params = {'repository': 'devtable/simple'}
response = conduct_api_call(cl, Repository, 'GET', params).json
assert not response['trust_enabled']
def test_sni_support():
import ssl
assert ssl.HAS_SNI