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): 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"""