mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-17 08:41:03 +00:00
Fix bwruntests yaml loader
This commit is contained in:
parent
13e7333c4b
commit
2b98d1baa4
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ the pyyaml library which is not installed.""",
|
||||||
file=sys.stderr)
|
file=sys.stderr)
|
||||||
exit(1)
|
exit(1)
|
||||||
with open(args.test_file) as f:
|
with open(args.test_file) as f:
|
||||||
testyaml = yaml.load(f)
|
testyaml = yaml.safe_load(f)
|
||||||
for testsetname, testv in testyaml.items():
|
for testsetname, testv in testyaml.items():
|
||||||
for testname, insn in testv.items():
|
for testname, insn in testv.items():
|
||||||
cmd = shlex.split(insn['command'])
|
cmd = shlex.split(insn['command'])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue