File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -629,6 +629,8 @@ def test_connect_with_incorrect_basic_authentication_credentials(self):
629629
630630 def test_double_client_id_failure (self ):
631631 input_host_name = _get_env_variable ("AWS_TEST_MQTT5_IOT_CORE_HOST" )
632+ input_cert = _get_env_variable ("AWS_TEST_MQTT5_IOT_CORE_RSA_CERT" )
633+ input_key = _get_env_variable ("AWS_TEST_MQTT5_IOT_CORE_RSA_KEY" )
632634 input_port = int (8883 )
633635 shared_client_id = create_client_id ()
634636
@@ -638,6 +640,11 @@ def test_double_client_id_failure(self):
638640 port = input_port ,
639641 connect_options = connect_options
640642 )
643+ tls_ctx_options = io .TlsContextOptions .create_client_with_mtls_from_path (
644+ input_cert ,
645+ input_key
646+ )
647+ client_options .tls_ctx = io .ClientTlsContext (tls_ctx_options )
641648 callbacks = Mqtt5TestCallbacks ()
642649 client1 = self ._create_client (client_options = client_options , callbacks = callbacks )
643650
You can’t perform that action at this time.
0 commit comments