def test_can_connect_with_ssl_client_auth_host_name(self):

        # Need to get absolute paths for certs/key
        abs_path_ca_cert_path = os.path.abspath(CLIENT_CA_CERTS)
        abs_driver_keyfile = os.path.abspath(DRIVER_KEYFILE)
        abs_driver_certfile = os.path.abspath(DRIVER_CERTFILE)

        ssl_options = {'ca_certs': abs_path_ca_cert_path,
                       'ssl_version': ssl.PROTOCOL_TLSv1,
                       'keyfile': abs_driver_keyfile,
                       'certfile': abs_driver_certfile,
                       'cert_reqs': ssl.CERT_REQUIRED,
                       'check_hostname': True}
        validate_ssl_options(ssl_options)
Check if a string looks like a well formed FQDN.
dataset/ETHPy150Open datastax/python-driver/tests/integration/long/test_ssl.py/SSLConnectionAuthTests.test_can_connect_with_ssl_client_auth_host_name--crossover with--dataset/ETHPy150Open kgaughan/uwhoisd/uwhoisd/utils.py/is_well_formed_fqdn