Add test for SNI support
This commit is contained in:
parent
b2569ffbb2
commit
7a96db0945
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue