Skip to content

Commit 29095ba

Browse files
committed
unite tests
1 parent e5c26c2 commit 29095ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/unit/tls/tls_module_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ def tls_module_local_ca_cert_test(self):
841841
print('\ntls_module_trusted_ca_cert_chain_test')
842842
cert_path = os.path.join(CERT_DIR, 'device_cert_local.crt')
843843
cert_valid = TLS_UTIL.validate_local_ca_signature(
844-
device_cert_path=cert_path)
844+
device_cert_path=cert_path, host='10.10.10.14', port='443')
845845
self.assertEqual(cert_valid[0], True)
846846

847847
def tls_module_ca_cert_spaces_test(self):
@@ -862,7 +862,7 @@ def tls_module_ca_cert_spaces_test(self):
862862
tls_util = TLSUtil(log, cert_out_dir=OUTPUT_DIR, root_certs_dir=tmp_dir)
863863

864864
cert_valid = tls_util.validate_local_ca_signature(
865-
device_cert_path=cert_path)
865+
device_cert_path=cert_path, host='10.10.10.14', port='443')
866866
self.assertEqual(cert_valid[0], True)
867867

868868
def download_public_cert(self, hostname, port=443):

0 commit comments

Comments
 (0)