From 260173782a5159d6fd03e3da07594f96b233143d Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Mon, 26 Jun 2023 16:15:11 +0800 Subject: [PATCH] Fix a check for yang validation (#15498) (#15600) --- 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 28257c02ba..1428250aad 100644 --- a/src/sonic-config-engine/tests/test_cfggen.py +++ b/src/sonic-config-engine/tests/test_cfggen.py @@ -57,6 +57,7 @@ class TestCfgGen(TestCase): def run_script(self, argument, check_stderr=False, verbose=False): print('\n Running sonic-cfggen ' + ' '.join(argument)) + self.assertTrue(self.yang.validate(argument)) if check_stderr: output = subprocess.check_output(self.script_file + argument, stderr=subprocess.STDOUT) else: