]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: apply frrbot style requirements
authorChristian Hopps <chopps@labn.net>
Mon, 20 Mar 2023 19:12:56 +0000 (15:12 -0400)
committerChristian Hopps <chopps@gmail.com>
Wed, 22 Mar 2023 05:22:56 +0000 (05:22 +0000)
Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/config_timing/test_config_timing.py
tests/topotests/lib/topotest.py

index f196deacddba546e9314b801271c3d046edb3219..8de6f9bf7082a0ef9bef54d856bf22aab1288811 100644 (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")
index 8965e59d6bdb79d2c25ff1ed74b33375bc241e28..d35b908e120ed9851dcefdbdd5c674b0f8465a2c 100644 (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))