From 79cbde8095ec3f8f20be63f518b29d47b24101d2 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Sun, 11 Aug 2024 12:51:53 +0300 Subject: [PATCH] tests: Convert self.unified_config to boolean Signed-off-by: Donatas Abraitis --- tests/topotests/lib/topotest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 1d4bc2eac6..5a8c2e5964 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -1430,7 +1430,7 @@ class Router(Node): self.daemondir = None self.hasmpls = False self.routertype = "frr" - self.unified_config = None + self.unified_config = False self.daemons = { "zebra": 0, "ripd": 0, @@ -1653,7 +1653,7 @@ class Router(Node): # print "Daemons before:", self.daemons if daemon in self.daemons.keys() or daemon == "frr": if daemon == "frr": - self.unified_config = 1 + self.unified_config = True else: self.daemons[daemon] = 1 if param is not None: -- 2.39.5