tests: iproute2_check_path_selection call the actual command

For some reason this was missing.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-10-15 09:51:08 -04:00
parent d1433ee9a8
commit c8a947e12b

View File

@ -58,7 +58,7 @@ def iproute2_check_path_selection(router, ipaddr_str, expected, vrf_name=None):
else:
cmdstr = f"ip -json route show {ipaddr_str}"
try:
output = json.loads(cmdstr)
output = json.loads(router.cmd(cmdstr))
except:
output = []