mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-24 12:38:12 +00:00
tests: fix improper format strings in pim lib
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
parent
8ab4625666
commit
5aab262b74
@ -1400,14 +1400,10 @@ def verify_pim_state(
|
|||||||
errormsg = (
|
errormsg = (
|
||||||
"[DUT %s]: Verifying pim state for group"
|
"[DUT %s]: Verifying pim state for group"
|
||||||
" %s, [FAILED]!! Expected: "
|
" %s, [FAILED]!! Expected: "
|
||||||
"(iif: %s, oil: %s, installed: %s) ",
|
"(iif: %s, oil: %s, installed: %s) "
|
||||||
|
% (dut, grp_addr, iif, oil, "1"),
|
||||||
"Found: (iif: %s, oil: %s, installed: %s)"
|
"Found: (iif: %s, oil: %s, installed: %s)"
|
||||||
% (
|
% (
|
||||||
dut,
|
|
||||||
grp_addr,
|
|
||||||
iif,
|
|
||||||
oil,
|
|
||||||
"1",
|
|
||||||
data["inboundInterface"],
|
data["inboundInterface"],
|
||||||
data["outboundInterface"],
|
data["outboundInterface"],
|
||||||
data["installed"],
|
data["installed"],
|
||||||
@ -2688,7 +2684,7 @@ def verify_igmp_config(tgen, input_dict, stats_return=False):
|
|||||||
|
|
||||||
if statistics and report:
|
if statistics and report:
|
||||||
show_ip_igmp_intf_json = run_frr_cmd(
|
show_ip_igmp_intf_json = run_frr_cmd(
|
||||||
rnode, "{} json".format(cmd, interface), isjson=True
|
rnode, "{} json".format(cmd), isjson=True
|
||||||
)
|
)
|
||||||
intf_detail_json = show_ip_igmp_intf_json["global"]
|
intf_detail_json = show_ip_igmp_intf_json["global"]
|
||||||
else:
|
else:
|
||||||
@ -2764,7 +2760,6 @@ def verify_igmp_config(tgen, input_dict, stats_return=False):
|
|||||||
dut,
|
dut,
|
||||||
interface,
|
interface,
|
||||||
value,
|
value,
|
||||||
intf_detail_json["reportV2"],
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return errormsg
|
return errormsg
|
||||||
|
Loading…
Reference in New Issue
Block a user