Skip to content

Commit

Permalink
tests: Convert self.unified_config to boolean
Browse files Browse the repository at this point in the history
Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Aug 11, 2024
1 parent 423e807 commit 79cbde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/topotests/lib/topotest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ def __init__(self, name, *posargs, **params):
self.daemondir = None
self.hasmpls = False
self.routertype = "frr"
self.unified_config = None
self.unified_config = False
self.daemons = {
"zebra": 0,
"ripd": 0,
Expand Down Expand Up @@ -1653,7 +1653,7 @@ def loadConf(self, daemon, source=None, param=None):
# 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:
Expand Down

0 comments on commit 79cbde8

Please sign in to comment.