aboutsummaryrefslogtreecommitdiff
path: root/lava_dispatcher/test/test_test_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'lava_dispatcher/test/test_test_shell.py')
-rw-r--r--lava_dispatcher/test/test_test_shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lava_dispatcher/test/test_test_shell.py b/lava_dispatcher/test/test_test_shell.py
index 472a69dd0..95b138b80 100644
--- a/lava_dispatcher/test/test_test_shell.py
+++ b/lava_dispatcher/test/test_test_shell.py
@@ -52,7 +52,7 @@ class TestPatterns(StdoutTestCase):
self.assertEqual([], self.job.pipeline.errors)
self.assertTrue(os.path.exists(self.testdef))
with open(self.testdef, 'r') as par:
- params = yaml.load(par)
+ params = yaml.safe_load(par)
self.assertIn('parse', params.keys())
line = 'test1a: pass'