Merge pull request #41 from pulp-platform/rt/fix-bwruntests

Fix missing argument `Loader` in `bwruntests.py`
This commit is contained in:
Yvan Tortorella 2024-02-13 09:03:12 +01:00 committed by GitHub
commit e90f6e5327
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -246,7 +246,7 @@ the pyyaml library which is not installed.""",
file=sys.stderr)
exit(1)
with open(args.test_file) as f:
testyaml = yaml.load(f)
testyaml = yaml.load(f, Loader=yaml.Loader)
for testsetname, testv in testyaml.items():
for testname, insn in testv.items():
cmd = shlex.split(insn['command'])