From 96a2d793536e59c83d0217b570a14091753eb5f3 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Thu, 28 Apr 2022 17:29:38 +0000 Subject: [PATCH] [config-engine] enable diff output for test_cfggen.py Signed-off-by: Ying Xie --- src/sonic-config-engine/tests/test_cfggen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sonic-config-engine/tests/test_cfggen.py b/src/sonic-config-engine/tests/test_cfggen.py index 31a738872146..20f8ff875609 100644 --- a/src/sonic-config-engine/tests/test_cfggen.py +++ b/src/sonic-config-engine/tests/test_cfggen.py @@ -37,6 +37,7 @@ def setUp(self): self.voq_port_config = os.path.join(self.test_dir, 'voq-sample-port-config.ini') self.packet_chassis_graph = os.path.join(self.test_dir, 'sample-chassis-packet-lc-graph.xml') self.packet_chassis_port_ini = os.path.join(self.test_dir, 'sample-chassis-packet-lc-port-config.ini') + self.maxDiff = None # To ensure that mock config_db data is used for unit-test cases os.environ["CFGGEN_UNIT_TESTING"] = "2"