tests: apply frrbot style requirements

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2023-03-20 15:12:56 -04:00 committed by Christian Hopps
parent 39c329bbd1
commit d6c755f245
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -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))