def test_unknown_ok(self): assert get_protocol_versions(['tlsv9000']) == {'tlsv9000'}
def test_casing(self): assert get_protocol_versions(['tlsv1.0', 'TLSv1.3']) == {'TLSv1', 'TLSv1.3'}
def test_numbers(self): assert get_protocol_versions(['v1.0', '1.3']) == {'TLSv1', 'TLSv1.3'}
def test_default(self): assert get_protocol_versions([]) == DEFAULT_PROTOCOL_VERSIONS