#NEWLINE# def test_check_ssl( self ) : #NEWLINE# #INDENT# self . run_check ( CONFIG_SSL_ONLY ) #NEWLINE# self . service_checks = self . wait_for_async ( 'get_service_checks' , 'service_checks' , 6 ) #NEWLINE# tags = [ 'url:https://github.com' , 'instance:good_cert' ] #NEWLINE# self . assertServiceCheckOK ( 'http.can_connect' , tags = self ) #NEWLINE# self . assertServiceCheckOK ( 'http.ssl_cert' , tags = tags ) #NEWLINE# tags = [ 'url:https://google.com' , 'instance:cert_exp_soon' ] #NEWLINE# self . assertServiceCheckOK ( 'http.can_connect' , tags = tags ) #NEWLINE# self . assertServiceCheckWarning ( 'http.ssl_cert' , tags = tags ) #NEWLINE# tags = [ 'url:https://thereisnosuchlink.com' , 'instance:conn_error' ] #NEWLINE# self . assertServiceCheckCritical ( 'http.can_connect' , tags = tags ) #NEWLINE# self . assertServiceCheckCritical ( 'http.ssl_cert' , tags = tags ) #NEWLINE# self . coverage_report ( )