Add test for SNI support

This commit is contained in:
Evan Cordell 2017-05-02 13:14:30 -04:00
parent b2569ffbb2
commit 7a96db0945

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