From 442acb3ef106d0e668ac7da82bd5a1ca89822a95 Mon Sep 17 00:00:00 2001 From: Aliaksandr Nikitsin Date: Wed, 4 Mar 2026 16:41:04 +0100 Subject: [PATCH 1/2] remove duplicated message --- modules/test/tls/python/src/tls_module.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/test/tls/python/src/tls_module.py b/modules/test/tls/python/src/tls_module.py index c2ffef216..bec708d3f 100644 --- a/modules/test/tls/python/src/tls_module.py +++ b/modules/test/tls/python/src/tls_module.py @@ -454,7 +454,6 @@ def _security_tls_v1_2_server(self): else: LOGGER.error('Could not resolve device IP address. Skipping') description = 'Could not resolve device IP address' - details.append('Could not resolve device IP address.') return 'Error', description, details def _security_tls_v1_3_server(self): From 6a9a53f3987665efe21be9d1fd2e6838c9267fc2 Mon Sep 17 00:00:00 2001 From: Aliaksandr Nikitsin Date: Wed, 4 Mar 2026 17:32:47 +0100 Subject: [PATCH 2/2] unit tests --- testing/unit/tls/tls_module_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/unit/tls/tls_module_test.py b/testing/unit/tls/tls_module_test.py index f1e47f55c..26aa43d03 100644 --- a/testing/unit/tls/tls_module_test.py +++ b/testing/unit/tls/tls_module_test.py @@ -80,7 +80,7 @@ def security_tls_v1_2_server_no_ip_test(self): self.assertEqual(result, 'Error') self.assertEqual(description, 'Could not resolve device IP address') - self.assertEqual(details, ['Could not resolve device IP address.']) + self.assertEqual(details, []) def security_tls_v1_2_server_no_scan_results_test(self): """Tests _security_tls_v1_2_server when scan finds no HTTP/HTTPS ports"""