test: infamy: Silence reachability check

This was to verbose.
This commit is contained in:
Mattias Walström
2025-08-26 14:38:42 +02:00
parent 6cc380d8ce
commit 7683466424
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -22,7 +22,6 @@ from . import env, netutil
def netconf_syn(addr):
if netutil.tcp_port_is_open(addr, 830):
print(f"{addr} answers to TCP connections on port 830 (NETCONF)")
return True
else:
return False
-1
View File
@@ -101,7 +101,6 @@ def restconf_reachable(neigh, password):
response = requests_workaround_get(url, headers=headers, auth=auth,
verify=False)
if response.status_code == 200:
print(f"{neigh} answers to TCP connections on port 443 (RESTCONF)")
return True
except:
return False