mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-27 15:09:01 +00:00
tests: apply frrbot style requirements
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
39c329bbd1
commit
d6c755f245
@ -150,7 +150,6 @@ def test_static_timing():
|
||||
|
||||
return tot_delta
|
||||
|
||||
|
||||
# Number of static routes
|
||||
router = tgen.gears["r1"]
|
||||
output = router.run("vtysh -h | grep address-sanitizer")
|
||||
|
||||
@ -582,6 +582,7 @@ def iproute2_is_vrf_capable():
|
||||
pass
|
||||
return False
|
||||
|
||||
|
||||
def iproute2_is_fdb_get_capable():
|
||||
"""
|
||||
Checks if the iproute2 version installed on the system is capable of
|
||||
@ -606,6 +607,7 @@ def iproute2_is_fdb_get_capable():
|
||||
pass
|
||||
return False
|
||||
|
||||
|
||||
def module_present_linux(module, load):
|
||||
"""
|
||||
Returns whether `module` is present.
|
||||
@ -1577,8 +1579,8 @@ class Router(Node):
|
||||
self.cmd_raises("touch " + conf_file)
|
||||
else:
|
||||
# copy zebra.conf to mgmtd folder, which can be used during startup
|
||||
if daemon == 'zebra':
|
||||
conf_file_mgmt = "/etc/{}/{}.conf".format(self.routertype, 'mgmtd')
|
||||
if daemon == "zebra":
|
||||
conf_file_mgmt = "/etc/{}/{}.conf".format(self.routertype, "mgmtd")
|
||||
self.cmd_raises("cp {} {}".format(source, conf_file_mgmt))
|
||||
self.cmd_raises("cp {} {}".format(source, conf_file))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user