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: