parent
c5167457eb
commit
260173782a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user